diff options
-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> |