summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2006-12-13 03:17:34 +0100
committerlpsolit%gmail.com <>2006-12-13 03:17:34 +0100
commitf6d08f6b4bf59323731e4a746f12810322152174 (patch)
tree9e137b8a9b76c68b1b0a982735ee5955c40eaf50 /template
parent32f3ff65a8019fded30601f59f37306312576547 (diff)
downloadbugzilla-f6d08f6b4bf59323731e4a746f12810322152174.tar.gz
bugzilla-f6d08f6b4bf59323731e4a746f12810322152174.tar.xz
Bug 363556: No obvious way to log in to view/change a bug when you're not logged in - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=justdave
Diffstat (limited to 'template')
-rw-r--r--template/en/default/bug/edit.html.tmpl17
1 files changed, 13 insertions, 4 deletions
diff --git a/template/en/default/bug/edit.html.tmpl b/template/en/default/bug/edit.html.tmpl
index ed220bb69..82ab6f3d7 100644
--- a/template/en/default/bug/edit.html.tmpl
+++ b/template/en/default/bug/edit.html.tmpl
@@ -385,8 +385,8 @@
<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"
@@ -419,8 +419,17 @@
&& 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>