Commit 7bf1c7d2 authored by mkanat%bugzilla.org's avatar mkanat%bugzilla.org

Bug 488943: Clarify the text of the "Private" checkbox for comments and attachments

Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=pyrzak, r=LpSolit, a=LpSolit
parent d7e5d9fd
...@@ -110,10 +110,13 @@ ...@@ -110,10 +110,13 @@
<tr> <tr>
<th>Privacy:</th> <th>Privacy:</th>
<td> <td>
<em>If the attachment is private, check the box below.</em><br>
<input type="checkbox" name="isprivate" id="isprivate" <input type="checkbox" name="isprivate" id="isprivate"
value="1" onClick="updateCommentPrivacy(this)"> value="1" onClick="updateCommentPrivacy(this)">
<label for="isprivate">Private</label> <label for="isprivate">
Make attachment and comment private (visible only to members of
the <strong>[% Param('insidergroup') FILTER html %]</strong>
group)
</label>
</td> </td>
</tr> </tr>
[% END %] [% END %]
......
...@@ -94,10 +94,13 @@ ...@@ -94,10 +94,13 @@
<input type="checkbox" id="isobsolete" name="isobsolete" value="1" <input type="checkbox" id="isobsolete" name="isobsolete" value="1"
[%+ 'checked="checked"' IF attachment.isobsolete %]> [%+ 'checked="checked"' IF attachment.isobsolete %]>
<label for="isobsolete">obsolete</label> <label for="isobsolete">obsolete</label>
[% IF (Param("insidergroup") && user.in_group(Param("insidergroup"))) %] [% IF user.is_insider %]
<br>
<input type="checkbox" id="isprivate" name="isprivate" value="1" <input type="checkbox" id="isprivate" name="isprivate" value="1"
[% " checked" IF attachment.isprivate %]> [% " checked" IF attachment.isprivate %]>
<label for="isprivate">private</label><br> <label for="isprivate">private (only visible to
<strong>[% Param('insidergroup') FILTER html %]</strong>)
</label>
[% END %] [% END %]
<br> <br>
</small> </small>
......
...@@ -517,7 +517,7 @@ TUI_hide_default('expert_fields'); ...@@ -517,7 +517,7 @@ TUI_hide_default('expert_fields');
</td> </td>
</tr> </tr>
[% IF Param("insidergroup") && user.in_group(Param("insidergroup")) %] [% IF user.is_insider %]
<tr class="expert_fields"> <tr class="expert_fields">
<th>&nbsp;</th> <th>&nbsp;</th>
<td colspan="3"> <td colspan="3">
...@@ -525,7 +525,8 @@ TUI_hide_default('expert_fields'); ...@@ -525,7 +525,8 @@ TUI_hide_default('expert_fields');
<input type="checkbox" id="commentprivacy" name="commentprivacy" <input type="checkbox" id="commentprivacy" name="commentprivacy"
[% " checked=\"checked\"" IF commentprivacy %]> [% " checked=\"checked\"" IF commentprivacy %]>
<label for="commentprivacy"> <label for="commentprivacy">
Initial Description is Private Make description private (visible only to members of the
<strong>[% Param('insidergroup') FILTER html %]</strong> group)
</label> </label>
</td> </td>
</tr> </tr>
......
...@@ -240,11 +240,15 @@ ...@@ -240,11 +240,15 @@
[% IF user.id %] [% IF user.id %]
<table><tr><td> <table><tr><td>
<label for="comment" accesskey="c"><b>Additional <u>C</u>omments</b></label>: <label for="comment" accesskey="c"><b>Additional <u>C</u>omments</b></label>:
[% IF Param("insidergroup") && user.in_group(Param("insidergroup")) %] [% IF user.is_insider %]
<input type="checkbox" name="commentprivacy" value="1" <input type="checkbox" name="commentprivacy" value="1"
id="newcommentprivacy" id="newcommentprivacy"
onClick="updateCommentTagControl(this, form)"> onClick="updateCommentTagControl(this, form)">
<label for="newcommentprivacy">Private</label> <label for="newcommentprivacy">
Make comment private (visible only to members of the
<strong>[% Param('insidergroup') FILTER html %]</strong>
group)
</label>
[% END %] [% END %]
<br> <br>
[% INCLUDE global/textarea.html.tmpl [% INCLUDE global/textarea.html.tmpl
......
...@@ -290,7 +290,10 @@ ...@@ -290,7 +290,10 @@
<input type="checkbox" name="commentprivacy" value="1" <input type="checkbox" name="commentprivacy" value="1"
id="newcommentprivacy" id="newcommentprivacy"
onClick="updateCommentTagControl(this, form)"/> onClick="updateCommentTagControl(this, form)"/>
<label for="newcommentprivacy">Private</label> <label for="newcommentprivacy">
Make comment private (visible only to members of the
<strong>[% Param('insidergroup') FILTER html %]</strong> group)
</label>
[% END %] [% END %]
<br> <br>
[% INCLUDE global/textarea.html.tmpl [% INCLUDE global/textarea.html.tmpl
......
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