Commit 47cf0ef7 authored by guy.pyrzak%gmail.com's avatar guy.pyrzak%gmail.com

Bug 477391: The "Commit" and "Move to..." buttons at the top of show_bug should…

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 <guy.pyrzak@gmail.com> r=LpSolit, a=LpSolit
parent d6894785
...@@ -1150,10 +1150,12 @@ ...@@ -1150,10 +1150,12 @@
[% spellcheck = undef %] [% spellcheck = undef %]
[% END %] [% END %]
[% BLOCK commit_button %] [% BLOCK commit_button %]
<div class="knob-buttons"> [% IF user.id %]
<input type="submit" value="Commit" id="commit[% id FILTER css_class_quote %]"> <div class="knob-buttons">
[% IF bug.user.canmove %] <input type="submit" value="Commit" id="commit[% id FILTER css_class_quote %]">
<input type="submit" name="action" id="action[% id FILTER css_class_quote %]" value="[% Param("move-button-text") %]"> [% IF bug.user.canmove %]
[% END %] <input type="submit" name="action" id="action[% id FILTER css_class_quote %]" value="[% Param("move-button-text") %]">
</div> [% END %]
</div>
[% END %]
[% END %] [% END %]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment