Parcourir la source

conform praesident werbung to partei werbung

master
erichhasl il y a 8 ans
Parent
révision
22831fd2c0
1 fichiers modifiés avec 40 ajouts et 27 suppressions
  1. +40
    -27
      web_dev/sas_web/news/templates/news/praesident.html

+ 40
- 27
web_dev/sas_web/news/templates/news/praesident.html Voir le fichier

@@ -5,39 +5,52 @@

<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:20%"/>
<th style="width:80%"/>
</tr>
<tr class="trpartei">
<td>
<p><b>Name</b></p>
</td>
<td>
<p>{{ entry.praesident.name }}</p>
</td>
<th style="width:70%"/>
<th style="width:30%"/>
</tr>
<tr class="trpartei">
<td>
<p><b>Wahlprogramm</b></p>
</td>
<td>
<p>{{ entry.wahlprogramm|linebreaks }}</p>
</td>
</tr>
<tr class="trpartei">
<tr>
<td>
<p><b>Weitere Informationen</b></p>
<table id="tablepartei">
<tr>
<th style="width:20%"/>
<th style="width:80%"/>
</tr>
<tr class="trpartei">
<td>
<p><b>Name</b></p>
</td>
<td>
<p>{{ entry.praesident.name }}</p>
</td>
</tr>
<tr class="trpartei">
<td>
<p><b>Über mich</b></p>
</td>
<td>
<p>{{ entry.wahlprogramm|linebreaks }}</p>
</td>
</tr>
<tr class="trpartei">
<td>
<p><b>Weitere Informationen</b></p>
</td>
<td>
{% for attachment in entry.parteianhang_set.all %}
<a href="{{ attachment.data.url }}">{{ attachment.name }}</a><br>
{% endfor %}
</td>
</tr>
</table>
</td>
<td>
{% for attachment in entry.praesidentanhang_set.all %}
<a href="{{ attachment.data.url }}">{{ attachment.name }}</a><br>
{% endfor %}
<div>
<img src="{{ entry.image.url }}" id="partei_bild">
</div>
</td>
</tr>
</table>


Chargement…
Annuler
Enregistrer