]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 363556: No obvious way to log in to view/change a bug when you're not logged...
authorlpsolit%gmail.com <>
Wed, 13 Dec 2006 02:17:34 +0000 (02:17 +0000)
committerlpsolit%gmail.com <>
Wed, 13 Dec 2006 02:17:34 +0000 (02:17 +0000)
template/en/default/bug/edit.html.tmpl

index ed220bb698913a157b5a2721a883456e1f58e857..82ab6f3d75c054ecfc68785e28486abab16ec15d 100644 (file)
   <br>
   <table cellpadding="1" cellspacing="1">
     <tr>
-      [% IF user.id %]
-        <td>
+      <td>
+        [% IF user.id %]
           <label for="comment" accesskey="c"><b>Additional <u>C</u>omments</b></label>:
           [% IF Param("insidergroup") && user.in_group(Param("insidergroup")) %]
             <input type="checkbox" name="commentprivacy" value="1"
                           && user.settings.state_addselfcc.value == 'cc_unless_role') %]>
             <label for="addselfcc">Add [% user.identity FILTER html %] to CC list</label>
           [% END %]
-        </td>
-      [% END %]
+        [% ELSE %]
+          <fieldset>
+            <legend>Note</legend>
+            <p>
+              You need to
+              <a href="show_bug.cgi?id=[% bug.bug_id %]&amp;GoAheadAndLogIn=1">log in</a>
+              before you can comment on or make changes to this [% terms.bug %].
+            </p>
+          </fieldset>
+        [% END %]
+      </td>
 
       <td valign="top">
         <fieldset>