summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--template/en/default/bug/edit.html.tmpl14
1 files changed, 8 insertions, 6 deletions
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 %]
- <div class="knob-buttons">
- <input type="submit" value="Commit" id="commit[% id FILTER css_class_quote %]">
- [% IF bug.user.canmove %]
- <input type="submit" name="action" id="action[% id FILTER css_class_quote %]" value="[% Param("move-button-text") %]">
- [% END %]
- </div>
+ [% IF user.id %]
+ <div class="knob-buttons">
+ <input type="submit" value="Commit" id="commit[% id FILTER css_class_quote %]">
+ [% IF bug.user.canmove %]
+ <input type="submit" name="action" id="action[% id FILTER css_class_quote %]" value="[% Param("move-button-text") %]">
+ [% END %]
+ </div>
+ [% END %]
[% END %]