diff options
author | dkl%redhat.com <> | 2008-12-17 18:39:02 +0100 |
---|---|---|
committer | dkl%redhat.com <> | 2008-12-17 18:39:02 +0100 |
commit | 1cb96f9b44b42855844576afab248fa9bdfc1c00 (patch) | |
tree | 3bc6ec4662ecdff953048a8ef3fcf9a3c22ae642 /template | |
parent | dd9a7df636d0139c8d50084051181cadc1a732ab (diff) | |
download | bugzilla-1cb96f9b44b42855844576afab248fa9bdfc1c00.tar.gz bugzilla-1cb96f9b44b42855844576afab248fa9bdfc1c00.tar.xz |
Bug 460909 - Mass edit bug form does not allow adding private comments
Patch by Dave Lawrence <dkl@redhat.com> - r/a=LpSolit
Diffstat (limited to 'template')
-rw-r--r-- | template/en/default/bug/edit.html.tmpl | 8 | ||||
-rw-r--r-- | template/en/default/list/edit-multiple.html.tmpl | 9 |
2 files changed, 8 insertions, 9 deletions
diff --git a/template/en/default/bug/edit.html.tmpl b/template/en/default/bug/edit.html.tmpl index ff621173f..73efa0b6c 100644 --- a/template/en/default/bug/edit.html.tmpl +++ b/template/en/default/bug/edit.html.tmpl @@ -136,14 +136,6 @@ [% END %] - function updateCommentTagControl(checkbox, form) { - if (checkbox.checked) { - form.comment.className='bz_private'; - } else { - form.comment.className=''; - } - } - //--> </script> diff --git a/template/en/default/list/edit-multiple.html.tmpl b/template/en/default/list/edit-multiple.html.tmpl index 190628fa9..d49709dbc 100644 --- a/template/en/default/list/edit-multiple.html.tmpl +++ b/template/en/default/list/edit-multiple.html.tmpl @@ -256,7 +256,14 @@ </table> -<b><label for="comment">Additional Comments:</label></b><br> +<b><label for="comment">Additional Comments:</label></b> +[% IF user.is_insider %] + <input type="checkbox" name="commentprivacy" value="1" + id="newcommentprivacy" + onClick="updateCommentTagControl(this, form)"/> + <label for="newcommentprivacy">Private</label> +[% END %] +<br> [% INCLUDE global/textarea.html.tmpl name = 'comment' id = 'comment' |