From: <psy...@us...> - 2009-02-14 15:33:53
|
Update of /cvsroot/frenchmozilla/bugzilla/template/fr/default/bug In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv29439/template/fr/default/bug Modified Files: edit.html.tmpl Log Message: Bug 477391: The "Commit" and "Move to..." buttons at the top of show_bug should only be displayed if the user is logged in. Index: edit.html.tmpl =================================================================== RCS file: /cvsroot/frenchmozilla/bugzilla/template/fr/default/bug/edit.html.tmpl,v retrieving revision 1.66 retrieving revision 1.67 diff -u -d -r1.66 -r1.67 --- edit.html.tmpl 13 Feb 2009 18:55:51 -0000 1.66 +++ edit.html.tmpl 14 Feb 2009 15:33:44 -0000 1.67 @@ -1162,10 +1162,12 @@ [% spellcheck = undef %] [% END %] [% BLOCK commit_button %] - <div class="knob-buttons"> - <input type="submit" value="Soumettre" 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="Soumettre" 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 %] \ No newline at end of file |