use dl for quote and description
This commit is contained in:
parent
63e8bbb5a2
commit
0b98d22569
1 changed files with 33 additions and 29 deletions
|
|
@ -49,37 +49,41 @@
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col col-12 col-md-7 col-lg-8 order-md-2 offset-lg-1">
|
<div class="col col-12 col-md-7 col-lg-8 order-md-2 offset-lg-1">
|
||||||
{% if object.quote %}
|
<dl>
|
||||||
<h2 class="h6">Ausschnitt aus dem Koalitionsvertrag</h2>
|
{% if object.quote %}
|
||||||
<blockquote>
|
<dt>Ausschnitt aus dem Koalitionsvertrag</dt>
|
||||||
{{ object.quote | addquotes | markdown }}
|
<dd>
|
||||||
</blockquote>
|
<blockquote>
|
||||||
{% endif %}
|
{{ object.quote | addquotes | markdown }}
|
||||||
{% with refs=object.get_reference_links %}
|
</blockquote>
|
||||||
{% if refs %}
|
{% with refs=object.get_reference_links %}
|
||||||
<p>
|
{% if refs %}
|
||||||
<span class="small">
|
<p>
|
||||||
{% if refs|length > 1 %}
|
<span class="small">
|
||||||
Quellen:
|
{% if refs|length > 1 %}
|
||||||
{% else %}
|
Quellen:
|
||||||
Quelle:
|
{% else %}
|
||||||
|
Quelle:
|
||||||
|
{% endif %}
|
||||||
|
</span>
|
||||||
|
{% for ref in refs %}
|
||||||
|
<a href="{{ ref }}" class="badge badge-light mr-2" target="_blank">
|
||||||
|
{{ forloop.counter }}
|
||||||
|
</a>
|
||||||
|
{% endfor %}
|
||||||
|
</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</span>
|
{% endwith %}
|
||||||
{% for ref in refs %}
|
{% endif %}
|
||||||
<a href="{{ ref }}" class="badge badge-light mr-2" target="_blank">
|
</dd>
|
||||||
{{ forloop.counter }}
|
|
||||||
</a>
|
|
||||||
{% endfor %}
|
|
||||||
</p>
|
|
||||||
{% endif %}
|
|
||||||
{% endwith %}
|
|
||||||
|
|
||||||
{% if object.description %}
|
{% if object.description %}
|
||||||
<div class="mt-5">
|
<div class="mt-5">
|
||||||
<h2 class="h6">Unsere Einschätzung</h2>
|
<dt>Unsere Einschätzung</dt>
|
||||||
{{ object.description | safe }}
|
<dd>{{ object.description | safe }}</dd>
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
</dl>
|
||||||
</div>
|
</div>
|
||||||
<div class="col col-12 col-md-5 col-lg-3 mt-5 mt-md-0">
|
<div class="col col-12 col-md-5 col-lg-3 mt-5 mt-md-0">
|
||||||
<dl>
|
<dl>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue