summaryrefslogtreecommitdiffstats
path: root/template/en
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2008-02-09 06:18:59 +0100
committermkanat%bugzilla.org <>2008-02-09 06:18:59 +0100
commit02c618aacd7f1b4683b73e93fa063d4db9e02fcd (patch)
tree14bdc1d7b4395f686e2e3602a2e3a13d70fbf519 /template/en
parentfad558c794527a2c0bd32b378917be0fc27e453f (diff)
downloadbugzilla-02c618aacd7f1b4683b73e93fa063d4db9e02fcd.tar.gz
bugzilla-02c618aacd7f1b4683b73e93fa063d4db9e02fcd.tar.xz
Bug 388723: Make the browser wrap comments on display in addition to the normal wrapping, to support CJK languages that have no spaces.
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=himorin, r=glob
Diffstat (limited to 'template/en')
-rw-r--r--template/en/default/attachment/midair.html.tmpl4
-rw-r--r--template/en/default/bug/comments.html.tmpl3
-rw-r--r--template/en/default/bug/process/midair.html.tmpl4
-rw-r--r--template/en/default/pages/linked.html.tmpl4
4 files changed, 10 insertions, 5 deletions
diff --git a/template/en/default/attachment/midair.html.tmpl b/template/en/default/attachment/midair.html.tmpl
index 8cde9f2f5..f0883b55b 100644
--- a/template/en/default/attachment/midair.html.tmpl
+++ b/template/en/default/attachment/midair.html.tmpl
@@ -50,7 +50,9 @@
[% IF cgi.param("comment") %]
<p>
Your comment was:<br>
- <blockquote><pre>[% cgi.param("comment") FILTER wrap_comment FILTER html %]</pre></blockquote>
+ <blockquote><pre class="bz_comment_text">
+ [% cgi.param("comment") FILTER wrap_comment FILTER html %]
+ </pre></blockquote>
</p>
[% END %]
diff --git a/template/en/default/bug/comments.html.tmpl b/template/en/default/bug/comments.html.tmpl
index 1fc5d46d3..da3fe3a9d 100644
--- a/template/en/default/bug/comments.html.tmpl
+++ b/template/en/default/bug/comments.html.tmpl
@@ -216,7 +216,8 @@
[% ELSE %]
[% wrapped_comment = comment.body FILTER wrap_comment %]
[% END %]
-<pre[% ' id="comment_text_' _ count _ '"' IF mode == "edit" %]>
+<pre class="bz_comment_text"
+ [% ' id="comment_text_' _ count _ '"' IF mode == "edit" %]>
[%- wrapped_comment FILTER quoteUrls(bug.bug_id) -%]
</pre>
</div>
diff --git a/template/en/default/bug/process/midair.html.tmpl b/template/en/default/bug/process/midair.html.tmpl
index 31dbc7b3c..d7e980e8c 100644
--- a/template/en/default/bug/process/midair.html.tmpl
+++ b/template/en/default/bug/process/midair.html.tmpl
@@ -66,7 +66,9 @@
[% IF cgi.param("comment") %]
<p>
Your comment was:<br>
- <blockquote><pre>[% cgi.param("comment") FILTER wrap_comment FILTER html %]</pre></blockquote>
+ <blockquote><pre class="bz_comment_text">
+ [% cgi.param("comment") FILTER wrap_comment FILTER html %]
+ </pre></blockquote>
</p>
[% END %]
diff --git a/template/en/default/pages/linked.html.tmpl b/template/en/default/pages/linked.html.tmpl
index a5e40d122..52b1735f6 100644
--- a/template/en/default/pages/linked.html.tmpl
+++ b/template/en/default/pages/linked.html.tmpl
@@ -30,7 +30,7 @@
<hr>
<p>
-<pre>
+<pre class="bz_comment_text">
[%- cgi.param("text") FILTER wrap_comment FILTER quoteUrls FILTER html -%]
</pre>
</p>
@@ -45,7 +45,7 @@
<hr>
<p>
-<pre>
+<pre class="bz_comment_text">
[%- cgi.param("text") FILTER wrap_comment FILTER quoteUrls -%]
</pre>
</p>