From: guy.pyrzak%gmail.com <> Date: Thu, 12 Feb 2009 05:20:05 +0000 (+0000) Subject: Bug 477391: The "Commit" and "Move to..." buttons at the top of show_bug should only... X-Git-Tag: bugzilla-3.3.4~50 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=47cf0ef790fc4848ea728ca4e7dc3748459436f8;p=thirdparty%2Fbugzilla.git 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 --- diff --git a/template/en/default/bug/edit.html.tmpl b/template/en/default/bug/edit.html.tmpl index 5d8a423f8e..f097d0616c 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 %]