From fd4ff1a62c3c65dcb88589e708dc3be5738f7890 Mon Sep 17 00:00:00 2001
From: "bbaetz%student.usyd.edu.au" <>
Date: Wed, 10 Jul 2002 07:05:34 +0000
Subject: Bug 150829 - 'My Votes' link missing from footer r=myk, jouni
---
template/en/default/global/useful-links.html.tmpl | 3 +--
template/en/default/sidebar.xul.tmpl | 2 +-
2 files changed, 2 insertions(+), 3 deletions(-)
(limited to 'template')
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 @@
Reports
- [% IF user.login AND use_votes %]
+ [% IF user.login && Param('usevotes') %]
| My Votes
[% END %]
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 %]
[%- END %]
- [%- IF anyvotesallowed %]
+ [%- IF Param('usevotes') %]
[%- END %]
--
cgit v1.2.1