From 9e8067ca4bb9e0d21a397f681fce376e9b28ef92 Mon Sep 17 00:00:00 2001
From: Max Kanat-Alexander
Date: Tue, 26 Oct 2010 15:48:33 -0700
Subject: Bug 551468: Stop word-wrapping comments on the server r=glob,
a=mkanat
---
template/en/default/attachment/midair.html.tmpl | 2 +-
template/en/default/bug/comments.html.tmpl | 2 +-
template/en/default/bug/edit.html.tmpl | 12 +-----------
template/en/default/bug/field.html.tmpl | 3 +--
template/en/default/bug/process/midair.html.tmpl | 2 +-
template/en/default/global/header.html.tmpl | 4 +++-
template/en/default/pages/linked.html.tmpl | 4 ++--
7 files changed, 10 insertions(+), 19 deletions(-)
(limited to 'template/en/default')
diff --git a/template/en/default/attachment/midair.html.tmpl b/template/en/default/attachment/midair.html.tmpl
index f0883b55b..f7f40fdcb 100644
--- a/template/en/default/attachment/midair.html.tmpl
+++ b/template/en/default/attachment/midair.html.tmpl
@@ -51,7 +51,7 @@
Your comment was:
[% END %]
diff --git a/template/en/default/bug/comments.html.tmpl b/template/en/default/bug/comments.html.tmpl
index 580ba6b5e..208ea092a 100644
--- a/template/en/default/bug/comments.html.tmpl
+++ b/template/en/default/bug/comments.html.tmpl
@@ -102,7 +102,7 @@
[% BLOCK a_comment %]
[% RETURN IF comment.is_private AND ! user.is_insider %]
- [% comment_text = comment.body_full({ wrap => 1 }) %]
+ [% comment_text = comment.body_full %]
[% RETURN IF comment_text == '' AND (comment.work_time - 0) != 0 AND !user.is_timetracker %]
Your comment was:
[% END %] diff --git a/template/en/default/global/header.html.tmpl b/template/en/default/global/header.html.tmpl index aa6604d2c..e5e5a08fb 100644 --- a/template/en/default/global/header.html.tmpl +++ b/template/en/default/global/header.html.tmpl @@ -189,7 +189,9 @@ cookiepath: '[% Param('cookiepath') FILTER js %]', maxusermatches: [% Param('maxusermatches') FILTER js %] }, - + constant: { + COMMENT_COLS: [% constants.COMMENT_COLS FILTER js %] + }, string: { [%# Please keep these in alphabetical order. %] diff --git a/template/en/default/pages/linked.html.tmpl b/template/en/default/pages/linked.html.tmpl index 52b1735f6..b5d850627 100644 --- a/template/en/default/pages/linked.html.tmpl +++ b/template/en/default/pages/linked.html.tmpl @@ -31,7 +31,7 @@