From 47cf0ef790fc4848ea728ca4e7dc3748459436f8 Mon Sep 17 00:00:00 2001 From: "guy.pyrzak%gmail.com" <> Date: Thu, 12 Feb 2009 05:20:05 +0000 Subject: Bug 477391: The "Commit" and "Move to..." buttons at the top of show_bug should only be displayed if the user is logged in Patch By Guy Pyrzak r=LpSolit, a=LpSolit --- template/en/default/bug/edit.html.tmpl | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'template/en/default') diff --git a/template/en/default/bug/edit.html.tmpl b/template/en/default/bug/edit.html.tmpl index 5d8a423f8..f097d0616 100644 --- a/template/en/default/bug/edit.html.tmpl +++ b/template/en/default/bug/edit.html.tmpl @@ -1150,10 +1150,12 @@ [% spellcheck = undef %] [% END %] [% BLOCK commit_button %] -
- - [% IF bug.user.canmove %] - - [% END %] -
+ [% IF user.id %] +
+ + [% IF bug.user.canmove %] + + [% END %] +
+ [% END %] [% END %] -- cgit v1.2.3-24-g4f1b