svn commit: r334117 - user/des/fbce/root/vote
Dag-Erling Smørgrav
des at FreeBSD.org
Wed May 23 20:55:02 UTC 2018
Author: des
Date: Wed May 23 20:55:01 2018
New Revision: 334117
URL: https://svnweb.freebsd.org/changeset/base/334117
Log:
Fix statement link on voting page for candidates with no slogan, cf. r333692.
Modified:
user/des/fbce/root/vote/index.tt
Modified: user/des/fbce/root/vote/index.tt
==============================================================================
--- user/des/fbce/root/vote/index.tt Wed May 23 20:50:09 2018 (r334116)
+++ user/des/fbce/root/vote/index.tt Wed May 23 20:55:01 2018 (r334117)
@@ -65,7 +65,7 @@
<tr>
<td class="votebox"><input type="checkbox" name="vote_for_[% login %]" id="vote_for_[% login %]"[% IF voted_for.$login %] checked="checked"[% END %] onclick="updateTotal()"/></td>
<td><label for="vote_for_[% login %]">[% candidate.name | html %][% IF candidate.incumbent %] (incumbent)[% END %]:</label></td>
- <td><a href="[% c.uri_for('/see/candidate', login) | html %]">[% candidate.statement.short | html %]</a></td>
+ <td><a href="[% c.uri_for('/see/candidate', login) | html %]">[% IF candidate.statement.short %][% candidate.statement.short | html %][% ELSE %]see statement[% END %]</a></td>
</tr>
[% END %]
<tr id="totalrow" style="visibility: collapse">
More information about the svn-src-user
mailing list