Commit a01e0678 authored by Will's avatar Will

templates/contact.html: suppression des liens en dur & génération dynamique en...

templates/contact.html: suppression des liens en dur & génération dynamique en fonction des valuers de la table
parent 440988db
<!-- contact page -->
<p class="left"><img src="http://www.europarl.europa.eu/mepphoto/108570.jpg" alt="mep"></p>
<h3>Random MEP</h3>
<p class="left"><img src="http://www.europarl.europa.eu/mepphoto/108570.jpg" alt="mep"></p>
<p id="name">{{ @contact.first_name }} {{ @contact.last_name }}</p>
<ul id="resume">
<li id="phone">Phone number: <a href="tel:+322 28 45922 ">{{ @contact.tel }}</a></li>
<li id="phone">Phone number: <a href="tel:{{ @contact.tel }} ">{{ @contact.tel }}</a></li>
<repeat group="{{ @contact.groups }}" value="{{ @group }}">
<check if="{{ @group.type!='Committee' }}">
<li id="group"><span>{{ @group.type }}:</span><a href="https://memopol.lqdn.fr/europe/parliament/group/Greens/EFA/"><img src="https://memopol.lqdn.fr/static/img/groups/eu/GreensEFA.png" height="24" alt="Greens/EFA" /></a> - {{ @group.name }}</li>
<li id="group"><span>{{ @group.type }}:</span><a href="https://memopol.lqdn.fr/europe/parliament/group/{{ @group.name }}">{{ @group.name }}</a> </li>
</check>
</repeat>
</ul>
......@@ -16,7 +17,7 @@
<ul id="committee">
<repeat group="{{ @contact.groups }}" value="{{ @group }}">
<check if="{{ @group.type=='Committee' }}">
<li title="Committee on Industry, Research and Energy"><a href="https://memopol.lqdn.fr/europe/parliament/committee/ITRE/">{{ @group.name }}</a></li>
<li title="Committee"><a href="https://memopol.lqdn.fr/europe/parliament/committee/{{ @group.name }}/">{{ @group.name }}</a></li>
</check>
</repeat>
</ul>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment