summaryrefslogtreecommitdiffstats
path: root/template/en
diff options
context:
space:
mode:
authorbbaetz%student.usyd.edu.au <>2002-07-10 09:05:34 +0200
committerbbaetz%student.usyd.edu.au <>2002-07-10 09:05:34 +0200
commitfd4ff1a62c3c65dcb88589e708dc3be5738f7890 (patch)
treeef53ec9b3be5bf6e5f83f6eb786f29e0b7b8650d /template/en
parent2a609ad58ffde7e3b03b3fb576c0012e99beba55 (diff)
downloadbugzilla-fd4ff1a62c3c65dcb88589e708dc3be5738f7890.tar.gz
bugzilla-fd4ff1a62c3c65dcb88589e708dc3be5738f7890.tar.xz
Bug 150829 - 'My Votes' link missing from footer
r=myk, jouni
Diffstat (limited to 'template/en')
-rw-r--r--template/en/default/global/useful-links.html.tmpl3
-rw-r--r--template/en/default/sidebar.xul.tmpl2
2 files changed, 2 insertions, 3 deletions
diff --git a/template/en/default/global/useful-links.html.tmpl b/template/en/default/global/useful-links.html.tmpl
index 6027dc503..987ca370b 100644
--- a/template/en/default/global/useful-links.html.tmpl
+++ b/template/en/default/global/useful-links.html.tmpl
@@ -30,7 +30,6 @@
# The keys used in this template are
# tweakparams, editcomponents, creategroups, editkeywords, confirm,
# editbugs, editusers.
- # use_votes: boolean. True if we are using votes.
#%]
[%# Migration note: this whole file corresponds to the old %commandmenu%
@@ -52,7 +51,7 @@
<a href="reports.cgi">Reports</a>
- [% IF user.login AND use_votes %]
+ [% IF user.login && Param('usevotes') %]
| <a href="votes.cgi?action=show_user">My Votes</a>
[% END %]
</td>
diff --git a/template/en/default/sidebar.xul.tmpl b/template/en/default/sidebar.xul.tmpl
index 65af4de4c..cab1270af 100644
--- a/template/en/default/sidebar.xul.tmpl
+++ b/template/en/default/sidebar.xul.tmpl
@@ -93,7 +93,7 @@ function normal_keypress_handler( aEvent ) {
[%- IF mybugsurl %]
<text class="text-link" onclick="load_relative_url('[% mybugsurl FILTER html %]')" value="my bugs"/>
[%- END %]
- [%- IF anyvotesallowed %]
+ [%- IF Param('usevotes') %]
<text class="text-link" onclick="load_relative_url('votes.cgi?action=show_user')" value="my votes"/>
[%- END %]