MAJ poll_info.tpl

This commit is contained in:
Meteor-Furet 2018-05-08 15:32:13 +02:00 committed by Thomas Citharel
parent feb0c1e6ce
commit b5ce4baf60
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773
2 changed files with 18 additions and 4 deletions

View File

@ -355,8 +355,12 @@
"Save the new title": "Save the new title",
"Simple editor": "Simple editor",
"Title": "Title of the poll",
"Voters email adresses are not collected": "Voters email adresses are not collected",
"Voters email adresses are collected": "Voters email adresses are collected",
"Voters email adresses are collected and required": "Voters email adresses are collected and required",
"Voters email adresses are collected, required and verified": "Voters email adresses are collected, required and verified",
"Votes and comments are locked": "Votes and comments are locked",
"Votes protected by password": "Votes protected by password"
"Votes protected by password": "Votes protected by password",
},
"Step 1": {
"All voters can modify any vote": "All voters can modify any vote",

View File

@ -233,9 +233,19 @@
</div>
</div>
<div id="collect_users_mail">
{if $poll->collect_users_mail}
<p><span class="glyphicon glyphicon-envelope"> </span> {__('PollInfo', 'Collecting the polled users emails')}</p>
{if $poll->collect_users_mail == constant("Framadate\Collect_mail::NO_COLLECT")}
{$txt=__('PollInfo', 'Voters email adresses are not collected')}
{else if $poll->collect_users_mail == constant("Framadate\Collect_mail::COLLECT")}
{$txt=__('PollInfo', 'Voters email adresses are collected')}
{else if $poll->collect_users_mail == constant("Framadate\Collect_mail::COLLECT_REQUIRED")}
{$txt=__('PollInfo', 'Voters email adresses are collected and required')}
{else if $poll->collect_users_mail == constant("Framadate\Collect_mail::COLLECT_REQUIRED_VERIFIED")}
{$txt=__('PollInfo', 'Voters email adresses are collected, required and verified')}
{else}
{$txt='Error'}
{/if}
<p><span class="glyphicon glyphicon-envelope"> </span> {$txt|html}</p>
</div>
{/if}
</div>