diff options
author | reed%reedloden.com <> | 2006-12-27 01:41:47 +0100 |
---|---|---|
committer | reed%reedloden.com <> | 2006-12-27 01:41:47 +0100 |
commit | ea564b10347c52a5dfa0422307dcc8049c494436 (patch) | |
tree | 7dd65ec6913d8e52b1bef93d4076aeb906397bce /template/en | |
parent | ad56a182550a8b58e45c3f7a47ab62f9d3ed4ec2 (diff) | |
download | bugzilla-ea564b10347c52a5dfa0422307dcc8049c494436.tar.gz bugzilla-ea564b10347c52a5dfa0422307dcc8049c494436.tar.xz |
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/en')
-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> |