Line | |
---|
1 | [% l('Hello,') %] |
---|
2 | [%- vote = c.model('Vote') -%] |
---|
3 | |
---|
4 | [% l('You\'ve asked for a reminder about the poll(s) you\'re participating in') %] |
---|
5 | |
---|
6 | |
---|
7 | [%- FOREACH p = polls_voting -%] |
---|
8 | [% IF loop.first %] |
---|
9 | [% l('You are listed as a voter on these polls') %]: |
---|
10 | [% END %] |
---|
11 | [%- poll = vote.poll(p.poll) -%] |
---|
12 | [% c.uri_for('/', 'ballot', poll.uid) %] |
---|
13 | [% utf8fix(poll.info('label')) %] |
---|
14 | [% l('This poll end') %]: [% utf8fix(poll.info.dend) %] [% utf8fix(poll.info.hend) %]. |
---|
15 | |
---|
16 | [% END %] |
---|
17 | |
---|
18 | [%- FOREACH p = polls_owner -%] |
---|
19 | [% IF loop.first %] |
---|
20 | [% l('You are the administrator for these polls') %]: |
---|
21 | [% END %] |
---|
22 | [%- poll = vote.poll(p.id) -%] |
---|
23 | [% c.uri_for('/', 'admin', poll.uid) %] |
---|
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 | |
---|
29 | [% poll.info('label') %] |
---|
30 | |
---|
31 | [% END %] |
---|
32 | |
---|
33 | [% l('Regards') %]. |
---|
Note: See
TracBrowser
for help on using the repository browser.