diff options
author | reed%reedloden.com <> | 2006-12-27 00:41:47 +0000 |
---|---|---|
committer | reed%reedloden.com <> | 2006-12-27 00:41:47 +0000 |
commit | ea564b10347c52a5dfa0422307dcc8049c494436 (patch) | |
tree | 7dd65ec6913d8e52b1bef93d4076aeb906397bce /template | |
parent | ad56a182550a8b58e45c3f7a47ab62f9d3ed4ec2 (diff) | |
download | bugs-ea564b10347c52a5dfa0422307dcc8049c494436.tar bugs-ea564b10347c52a5dfa0422307dcc8049c494436.tar.gz bugs-ea564b10347c52a5dfa0422307dcc8049c494436.tar.bz2 bugs-ea564b10347c52a5dfa0422307dcc8049c494436.tar.xz bugs-ea564b10347c52a5dfa0422307dcc8049c494436.zip |
Bug 364169 - "There is a "show votes for this bug" link when the bug has no votes" [p=reed r=bkor a=justdave]
Diffstat (limited to 'template')
-rw-r--r-- | template/en/default/bug/edit.html.tmpl | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/template/en/default/bug/edit.html.tmpl b/template/en/default/bug/edit.html.tmpl index 5f9d4ccb9..749cb8678 100644 --- a/template/en/default/bug/edit.html.tmpl +++ b/template/en/default/bug/edit.html.tmpl @@ -445,8 +445,10 @@ <br> <b><a href="page.cgi?id=voting.html">Votes</a></b>: [% bug.votes %] <ul> - <li><a href="votes.cgi?action=show_bug&bug_id=[% bug.bug_id %]">Show - votes for this [% terms.bug %]</a></li> + [% IF bug.votes %] + <li><a href="votes.cgi?action=show_bug&bug_id=[% bug.bug_id %]">Show + votes for this [% terms.bug %]</a></li> + [% END %] <li><a href="votes.cgi?action=show_user&bug_id=[% bug.bug_id %]#vote_[% bug.bug_id %]">Vote for this [% terms.bug %]</a></li> </ul> |