aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-08-25 18:45:41 +0100
committerSam James <sam@gentoo.org>2024-08-25 20:08:52 +0100
commit6ebdd1c35ac0af823a2cf40005f2114ce7b24990 (patch)
tree4a08eb442d10b5f874634732792d1fb7f3c10d6d
parenttemplate: bug/edit: improve disabled text (diff)
downloadbugzilla-6ebdd1c35ac0af823a2cf40005f2114ce7b24990.tar.gz
bugzilla-6ebdd1c35ac0af823a2cf40005f2114ce7b24990.tar.bz2
bugzilla-6ebdd1c35ac0af823a2cf40005f2114ce7b24990.zip
template: bug/edit: prettify disabled text
Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--template/en/default/bug/edit.html.tmpl9
1 files changed, 6 insertions, 3 deletions
diff --git a/template/en/default/bug/edit.html.tmpl b/template/en/default/bug/edit.html.tmpl
index c02172b08..218e5debb 100644
--- a/template/en/default/bug/edit.html.tmpl
+++ b/template/en/default/bug/edit.html.tmpl
@@ -1152,9 +1152,12 @@
[% END %]
[% Hook.process("after_comment_textarea", 'bug/edit.html.tmpl') %]
[% ELSE %]
- <textarea disabled>
- You are not allowed to make an additional comment on this [% terms.bug %].
- </textarea>
+ [% INCLUDE bug/comment.html.tmpl
+ minrows = 10
+ maxrows = 25
+ disabled = You are not allowed to make an additional comment on this [% terms.bug %].
+ cols = constants.COMMENT_COLS
+ %]
[% END %]
<br>
[% PROCESS commit_button id=""%]