conform praesident werbung to partei werbung

This commit is contained in:
erichhasl
2018-01-15 16:12:23 +01:00
parent 185523587d
commit 22831fd2c0
@@ -5,11 +5,16 @@
<link rel="stylesheet" type="text/css" href="{% static "news/css/partei.css"%}">
<div style="width:100%;">
<img src="{{ entry.image.url }}" id="partei_bild">
</div>
<p><a href="{% url "news:index" %}">Zurück zur Übersicht</a></p>
<table class="tablepartei">
<table id="tablebig">
<tr>
<th style="width:70%"/>
<th style="width:30%"/>
</tr>
<tr>
<td>
<table id="tablepartei">
<tr>
<th style="width:20%"/>
<th style="width:80%"/>
@@ -24,7 +29,7 @@
</tr>
<tr class="trpartei">
<td>
<p><b>Wahlprogramm</b></p>
<p><b>Über mich</b></p>
</td>
<td>
<p>{{ entry.wahlprogramm|linebreaks }}</p>
@@ -35,12 +40,20 @@
<p><b>Weitere Informationen</b></p>
</td>
<td>
{% for attachment in entry.praesidentanhang_set.all %}
{% for attachment in entry.parteianhang_set.all %}
<a href="{{ attachment.data.url }}">{{ attachment.name }}</a><br>
{% endfor %}
</td>
</tr>
</table>
</td>
<td>
<div>
<img src="{{ entry.image.url }}" id="partei_bild">
</div>
</td>
</tr>
</table>
<p><a href="{% url "news:index" %}">Zurück zur Übersicht</a></p>