Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ivan Ivlev
bugzilla
Commits
b1af4480
Commit
b1af4480
authored
Feb 27, 2014
by
Dave Miller
Committed by
Frédéric Buclin
Feb 27, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 893595: The pink colour of private comment will turn to white after refreshing the page
r=LpSolit a=justdave
parent
6ec36256
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
1 deletion
+14
-1
create.html.tmpl
template/en/default/bug/create/create.html.tmpl
+3
-0
edit.html.tmpl
template/en/default/bug/edit.html.tmpl
+5
-0
edit-multiple.html.tmpl
template/en/default/list/edit-multiple.html.tmpl
+6
-1
No files found.
template/en/default/bug/create/create.html.tmpl
View file @
b1af4480
...
@@ -565,6 +565,9 @@ TUI_hide_default('attachment_text_field');
...
@@ -565,6 +565,9 @@ TUI_hide_default('attachment_text_field');
Make description and any new attachment private (visible only to members
Make description and any new attachment private (visible only to members
of the <strong>[% Param('insidergroup') FILTER html %]</strong> group)
of the <strong>[% Param('insidergroup') FILTER html %]</strong> group)
</label>
</label>
<script>
updateCommentTagControl(document.getElementById('comment_is_private'), 'comment');
</script>
</td>
</td>
</tr>
</tr>
[% END %]
[% END %]
...
...
template/en/default/bug/edit.html.tmpl
View file @
b1af4480
...
@@ -1061,6 +1061,11 @@
...
@@ -1061,6 +1061,11 @@
maxrows = 25
maxrows = 25
cols = constants.COMMENT_COLS
cols = constants.COMMENT_COLS
%]
%]
[% IF user.is_insider %]
<script>
updateCommentTagControl(document.getElementById('newcommentprivacy'), 'comment');
</script>
[% END %]
[% Hook.process("after_comment_textarea", 'bug/edit.html.tmpl') %]
[% Hook.process("after_comment_textarea", 'bug/edit.html.tmpl') %]
[% ELSE %]
[% ELSE %]
You are not allowed to make an additional comment on this [% terms.bug %].
You are not allowed to make an additional comment on this [% terms.bug %].
...
...
template/en/default/list/edit-multiple.html.tmpl
View file @
b1af4480
...
@@ -288,7 +288,7 @@
...
@@ -288,7 +288,7 @@
[% IF user.is_insider %]
[% IF user.is_insider %]
<input type="checkbox" name="comment_is_private" value="1"
<input type="checkbox" name="comment_is_private" value="1"
id="newcommentprivacy"
id="newcommentprivacy"
onClick="updateCommentTagControl(this,
form
)"/>
onClick="updateCommentTagControl(this,
'comment'
)"/>
<label for="newcommentprivacy">
<label for="newcommentprivacy">
Make comment private (visible only to members of the
Make comment private (visible only to members of the
<strong>[% Param('insidergroup') FILTER html %]</strong> group)
<strong>[% Param('insidergroup') FILTER html %]</strong> group)
...
@@ -302,6 +302,11 @@
...
@@ -302,6 +302,11 @@
maxrows = 25
maxrows = 25
cols = constants.COMMENT_COLS
cols = constants.COMMENT_COLS
%]<br>
%]<br>
[% IF user.is_insider %]
<script>
updateCommentTagControl(document.getElementById('newcommentprivacy'), 'comment');
</script>
[% END %]
[% Hook.process('before_groups') %]
[% Hook.process('before_groups') %]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment