diff options
author | lpsolit%gmail.com <> | 2006-02-22 22:25:24 +0000 |
---|---|---|
committer | lpsolit%gmail.com <> | 2006-02-22 22:25:24 +0000 |
commit | 947e78213b1a987b483a9c29f3436dc15a80d6e0 (patch) | |
tree | b4804b91f751265bdc15cc78289404ad7aea6f04 /template/en/default/bug/create | |
parent | b3cdb97bbfa7fa359d30267530dbc6f213ba33c3 (diff) | |
download | bugs-947e78213b1a987b483a9c29f3436dc15a80d6e0.tar bugs-947e78213b1a987b483a9c29f3436dc15a80d6e0.tar.gz bugs-947e78213b1a987b483a9c29f3436dc15a80d6e0.tar.bz2 bugs-947e78213b1a987b483a9c29f3436dc15a80d6e0.tar.xz bugs-947e78213b1a987b483a9c29f3436dc15a80d6e0.zip |
Bug 291459: Make textareas zoom large when in use - Patch by Marc Schumann <wurblzap@gmail.com> r=vladd a=justdave
Diffstat (limited to 'template/en/default/bug/create')
-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 |
2 files changed, 36 insertions, 11 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> |