1
0
mirror of https://framagit.org/tykayn/date-poll-api synced 2023-08-25 08:23:11 +02:00
date-poll-api/templates/emails/partial/poll.html.twig

45 lines
1.3 KiB
Twig
Raw Normal View History

2020-04-10 18:02:52 +02:00
<div class="poll">
<h1>
2020-04-12 17:35:45 +02:00
Sondage {{ poll.title }}
2020-04-10 18:02:52 +02:00
</h1>
<br>
<div class="creation">
2021-05-18 23:26:33 +02:00
créé le {{ poll.createdAt| date('Y m d ') }}
2020-04-10 18:02:52 +02:00
</div>
<div class="creation">
expirera le {{ poll.expiracyDate| date('Y m d ') }}
</div>
<span class="votes-count">
{{ poll.stacksOfVotes |length }} votes
</span>
<span class="votes-count">
{{ poll.comments |length }} commentaires
</span>
{% if poll.password |length %}
2021-05-18 23:26:33 +02:00
<div class="protected">
🔐 (accès avec mot de passe)
</div>
{% else %}
{% endif %}
{% if poll.isZeroKnowledge |length %}
<div class="protected-zero-knoledge">
🔐 Ce sondage bénéficie du chiffrement Zéro knowledge, nos administrateurs ne sont pas en mesure de connaître les informations du sondage.
</div>
2020-04-10 18:02:52 +02:00
{% else %}
{% endif %}
<br>
<div class="public">
2021-05-18 23:26:33 +02:00
<div>
2020-04-10 18:02:52 +02:00
lien à donner aux votants:
2021-05-18 23:26:33 +02:00
</div>
2020-04-12 17:28:30 +02:00
{% include 'emails/partial/public_link.html.twig' %}
2020-04-10 18:02:52 +02:00
</div>
<div class="admin">
2021-05-18 23:26:33 +02:00
<div>
2020-04-10 18:02:52 +02:00
administration:
2021-05-18 23:26:33 +02:00
</div>
2020-04-12 17:28:30 +02:00
{% include 'emails/partial/admin_link.html.twig' %}
2020-04-10 18:02:52 +02:00
</div>
</div>