Rev | Line | |
---|
[321] | 1 | [% l('Hello,') %] |
---|
[251] | 2 | [%- vote = c.model('Vote') -%] |
---|
| 3 | |
---|
[342] | 4 | [% l('You\'ve asked for a reminder about the poll(s) you\'re participating in') %] |
---|
[251] | 5 | |
---|
| 6 | |
---|
| 7 | [%- FOREACH p = polls_voting -%] |
---|
| 8 | [% IF loop.first %] |
---|
[323] | 9 | [% l('You are listed as a voter on these polls') %]: |
---|
[251] | 10 | [% END %] |
---|
| 11 | [%- poll = vote.poll(p.poll) -%] |
---|
| 12 | [% c.uri_for('/', 'ballot', poll.uid) %] |
---|
[484] | 13 | [% utf8fix(poll.info('label')) %] |
---|
| 14 | [% l('This poll end') %]: [% utf8fix(poll.info.dend) %] [% utf8fix(poll.info.hend) %]. |
---|
[251] | 15 | |
---|
| 16 | [% END %] |
---|
| 17 | |
---|
| 18 | [%- FOREACH p = polls_owner -%] |
---|
| 19 | [% IF loop.first %] |
---|
[336] | 20 | [% l('You are the administrator for these polls') %]: |
---|
[251] | 21 | [% END %] |
---|
| 22 | [%- poll = vote.poll(p.id) -%] |
---|
| 23 | [% c.uri_for('/', 'admin', poll.uid) %] |
---|
[312] | 24 | [%- status = poll.status -%] |
---|
| 25 | [%- IF status == 'BEFORE' %] ([% l('to come') %])[% END -%] |
---|
| 26 | [%- IF status == 'RUNNING' %] ([% l('running') %])[% END -%] |
---|
| 27 | [%- IF status == 'AFTER' %] ([% l('terminated') %])[% END -%] |
---|
| 28 | |
---|
[251] | 29 | [% poll.info('label') %] |
---|
| 30 | |
---|
| 31 | [% END %] |
---|
| 32 | |
---|
[321] | 33 | [% l('Regards') %]. |
---|
Note: See
TracBrowser
for help on using the repository browser.