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 @@
<tr>
<th>Privacy:</th>
<td>
<em>If the attachment is private, check the box below.</em><br>
<input type="checkbox" name="isprivate" id="isprivate"
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>
</tr>
[% END %]
......
......@@ -94,10 +94,13 @@
<input type="checkbox" id="isobsolete" name="isobsolete" value="1"
[%+ 'checked="checked"' IF attachment.isobsolete %]>
<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"
[% " 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 %]
<br>
</small>
......
......@@ -517,7 +517,7 @@ TUI_hide_default('expert_fields');
</td>
</tr>
[% IF Param("insidergroup") && user.in_group(Param("insidergroup")) %]
[% IF user.is_insider %]
<tr class="expert_fields">
<th>&nbsp;</th>
<td colspan="3">
......@@ -525,7 +525,8 @@ TUI_hide_default('expert_fields');
<input type="checkbox" id="commentprivacy" name="commentprivacy"
[% " checked=\"checked\"" IF 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>
</td>
</tr>
......
......@@ -240,11 +240,15 @@
[% IF user.id %]
<table><tr><td>
<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"
id="newcommentprivacy"
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 %]
<br>
[% INCLUDE global/textarea.html.tmpl
......
......@@ -290,7 +290,10 @@
<input type="checkbox" name="commentprivacy" value="1"
id="newcommentprivacy"
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 %]
<br>
[% 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