funky-framadate-front/tpl/display_mails.tpl
Yannick Francois 50e56a0396 Récupère l'ancien framadate
à la racine, quand on lance le serveur, on a le framadate tel qu'il est aujourd'hui

en ajoutant  sur l'url, on accède à la maquette interactive dans son état actuel
2018-11-30 11:20:25 +01:00

46 lines
1.4 KiB
Smarty

{extends file='page.tpl'}
{block name=main}
<main>
{if ($mails_yes|count) === 0}
{__('display_mails', "No one voted 'Yes' to this option.")}</br>
{else}
{__('display_mails', "Users who voted 'Yes' for this option have left those email addresses:")}</br>
{strip}
<pre>
{foreach $mails_yes as $mail}
{$mail|html}<br />
{/foreach}
</pre>
{/strip}
{/if}
<br />
{if ($mails_ifneedbe|count) === 0}
{__('display_mails', "No one voted 'If need be' to this option.")}</br>
{else}
{__('display_mails', "Users who voted 'If need be' for this option have left those email addresses:")}</br>
{strip}
<pre>
{foreach $mails_ifneedbe as $mail}
{$mail|html}<br />
{/foreach}
</pre>
{/strip}
{/if}
<br />
{if ($mails_no|count) === 0}
{__('display_mails', "No one voted 'No' to this option.")}</br>
{else}
{__('display_mails', "Users who voted 'No' for this option have left those email addresses:")}</br>
{strip}
<pre>
{foreach $mails_no as $mail}
{$mail|html}<br />
{/foreach}
</pre>
{/strip}
{/if}
<br />
<a href="{poll_url id=$admin_poll_id admin=true}" class="btn btn-default" name="back">{__('adminstuds', 'Back to the poll')}</a>
{/block}