diff options
author | Dave Lawrence <dlawrence@mozilla.com> | 2014-02-28 06:34:15 +0100 |
---|---|---|
committer | Dave Lawrence <dlawrence@mozilla.com> | 2014-02-28 06:34:15 +0100 |
commit | 316c3b707bc79f0430bdee67709937bca7a839a0 (patch) | |
tree | 4208e8f6cb5a28a9405676f9f09766aec79152df /template/en | |
parent | d0308956b71eac546865487bf50c328456471b27 (diff) | |
download | bugzilla-316c3b707bc79f0430bdee67709937bca7a839a0.tar.gz bugzilla-316c3b707bc79f0430bdee67709937bca7a839a0.tar.xz |
Bug 975112 - Add the "Preview" mode for "Optional Comment" in the Create New Attachement page
r=glob,a=justdave
Diffstat (limited to 'template/en')
-rw-r--r-- | template/en/default/attachment/create.html.tmpl | 12 | ||||
-rw-r--r-- | template/en/default/attachment/edit.html.tmpl | 13 |
2 files changed, 11 insertions, 14 deletions
diff --git a/template/en/default/attachment/create.html.tmpl b/template/en/default/attachment/create.html.tmpl index 5c2384d51..739851f87 100644 --- a/template/en/default/attachment/create.html.tmpl +++ b/template/en/default/attachment/create.html.tmpl @@ -84,13 +84,11 @@ TUI_hide_default('attachment_text_field'); <th><label for="comment">Comment:</label></th> <td> <em>(optional) Add a comment about this attachment to the [% terms.bug %].</em><br> - [% INCLUDE global/textarea.html.tmpl - name = 'comment' - id = 'comment' - minrows = 6 - maxrows = 15 - cols = constants.COMMENT_COLS - wrap = 'soft' + [% INCLUDE bug/comment.html.tmpl + minrows = 6 + maxrows = 15 + cols = constants.COMMENT_COLS + wrap = 'soft' %] [% IF NOT bug.cc.contains(user.login) %] <br> diff --git a/template/en/default/attachment/edit.html.tmpl b/template/en/default/attachment/edit.html.tmpl index 54c7e07fb..283ca3676 100644 --- a/template/en/default/attachment/edit.html.tmpl +++ b/template/en/default/attachment/edit.html.tmpl @@ -247,13 +247,12 @@ <label for="comment">Comment (on the [% terms.bug %]):</label> [% classNames = 'block' %] [% classNames = "$classes bz_private" IF attachment.isprivate %] - [% INCLUDE global/textarea.html.tmpl - id = 'comment' - name = 'comment' - minrows = 10 - cols = 80 - wrap = 'soft' - classes = classNames + [% INCLUDE bug/comment.html.tmpl + bug = attachment.bug + minrows = 10 + cols = 80 + classes = classNames + wrap = 'soft' %] [% IF NOT attachment.bug.cc.contains(user.login) %] <input type="checkbox" id="addselfcc" name="addselfcc" |