diff options
Diffstat (limited to 'template/en/default/bug')
-rw-r--r-- | template/en/default/bug/create/create-guided.html.tmpl | 35 | ||||
-rw-r--r-- | template/en/default/bug/create/create.html.tmpl | 12 | ||||
-rw-r--r-- | template/en/default/bug/edit.html.tmpl | 10 |
3 files changed, 44 insertions, 13 deletions
diff --git a/template/en/default/bug/create/create-guided.html.tmpl b/template/en/default/bug/create/create-guided.html.tmpl index 712f27948..3c29791e5 100644 --- a/template/en/default/bug/create/create-guided.html.tmpl +++ b/template/en/default/bug/create/create-guided.html.tmpl @@ -333,7 +333,11 @@ function PutDescription() { <b>Details</b> </td> <td valign="top"> - <textarea rows="6" cols="80" name="comment"></textarea> + [% INCLUDE global/textarea.html.tmpl + name = 'comment' + minrows = 6 + cols = 80 + %] <p> Expand on the Summary. Please be as specific as possible about what is wrong. @@ -381,11 +385,12 @@ function PutDescription() { <b>Steps to Reproduce</b> </td> <td valign="top"> -<textarea rows="4" cols="80" name="reproduce_steps"> -1. -2. -3. -</textarea> + [% INCLUDE global/textarea.html.tmpl + name = 'reproduce_steps' + minrows = 4 + cols = 80 + defaultcontent = "1.\n2.\n3." + %] <p> Describe how to reproduce the problem, step by step. Include any special setup steps. @@ -398,7 +403,11 @@ function PutDescription() { <b>Actual Results</b> </td> <td valign="top"> - <textarea rows="4" cols="80" name="actual_results"></textarea> + [% INCLUDE global/textarea.html.tmpl + name = 'actual_results' + minrows = 4 + cols = 80 + %] <p> What happened after you performed the steps above? </p> @@ -410,7 +419,11 @@ function PutDescription() { <b>Expected Results</b> </td> <td valign="top"> - <textarea rows="4" cols="80" name="expected_results"></textarea> + [% INCLUDE global/textarea.html.tmpl + name = 'expected_results' + minrows = 4 + cols = 80 + %] <p> What should the software have done instead? </p> @@ -422,7 +435,11 @@ function PutDescription() { <b>Additional Information</b> </td> <td valign="top"> - <textarea rows="8" cols="80" name="additional_info"></textarea> + [% INCLUDE global/textarea.html.tmpl + name = 'additional_info' + minrows = 8 + cols = 80 + %] <p> Add any additional information you feel may be relevant to this [% terms.bug %], such as the <b>theme</b> you were diff --git a/template/en/default/bug/create/create.html.tmpl b/template/en/default/bug/create/create.html.tmpl index 21bfb6104..d5e0081d9 100644 --- a/template/en/default/bug/create/create.html.tmpl +++ b/template/en/default/bug/create/create.html.tmpl @@ -307,13 +307,21 @@ function set_assign_to() { <tr><td align="right" valign="top"><strong>Description:</strong></td> <td colspan="3"> - <textarea name="comment" rows="10" cols="80"> + [% defaultcontent = BLOCK %] [% IF cloned_bug_id %] +++ This [% terms.bug %] was initially created as a clone of [% terms.Bug %] #[% cloned_bug_id %] +++ [% END %] - [% comment FILTER html %]</textarea> + [% comment FILTER html %] + [%- END %] + [% INCLUDE global/textarea.html.tmpl + name = 'comment' + minrows = 10 + maxrows = 25 + cols = 80 + defaultcontent = defaultcontent + %] <br> </td> </tr> diff --git a/template/en/default/bug/edit.html.tmpl b/template/en/default/bug/edit.html.tmpl index 349b05049..3c647b67d 100644 --- a/template/en/default/bug/edit.html.tmpl +++ b/template/en/default/bug/edit.html.tmpl @@ -567,8 +567,14 @@ [% END %] <br> <a name="add_comment"></a> - <textarea name="comment" id="comment" rows="10" cols="80" - accesskey="c"></textarea> + [% INCLUDE global/textarea.html.tmpl + name = 'comment' + id = 'comment' + minrows = 10 + maxrows = 25 + cols = 80 + accesskey = 'c' + %] [% IF NOT bug.cc || NOT bug.cc.contains(user.login) %] <br> |