From 4c1db37570469aef2c7cc9f2ad9f859560ca8851 Mon Sep 17 00:00:00 2001 From: "bugreport%peshkin.net" <> Date: Sat, 31 Jul 2004 09:27:23 +0000 Subject: Bug 253588: Change Bugzilla->user to be usable even for a logged-out user patch by erik,joel r=kiko a=justdave --- template/en/default/bug/show.xml.tmpl | 2 +- template/en/default/global/useful-links.html.tmpl | 4 ++-- template/en/default/sidebar.xul.tmpl | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'template/en/default') diff --git a/template/en/default/bug/show.xml.tmpl b/template/en/default/bug/show.xml.tmpl index 45ef1712a..97d3dee67 100644 --- a/template/en/default/bug/show.xml.tmpl +++ b/template/en/default/bug/show.xml.tmpl @@ -25,7 +25,7 @@ diff --git a/template/en/default/global/useful-links.html.tmpl b/template/en/default/global/useful-links.html.tmpl index b37ef4c35..f148d7d2f 100644 --- a/template/en/default/global/useful-links.html.tmpl +++ b/template/en/default/global/useful-links.html.tmpl @@ -38,14 +38,14 @@ Reports - [% IF user %] + [% IF user.id %] [% email = user.login FILTER url_quote %] | My Requests [% ELSE %] | Requests [% END %] - [% IF user && Param('usevotes') %] + [% IF user.id && Param('usevotes') %] | My Votes [% END %] diff --git a/template/en/default/sidebar.xul.tmpl b/template/en/default/sidebar.xul.tmpl index 3e467b199..60ae33dbd 100644 --- a/template/en/default/sidebar.xul.tmpl +++ b/template/en/default/sidebar.xul.tmpl @@ -75,7 +75,7 @@ function normal_keypress_handler( aEvent ) { -[% IF user %] +[% IF user.id %] [%- IF user.groups.tweakparams %] -- cgit v1.2.3-24-g4f1b