From 82c721450888328c7183bc2e4c4e39934194b949 Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Tue, 20 Jan 2009 20:22:07 +0000 Subject: Bug 470057: Collapse and wrap text messages and text errors Patch By Max Kanat-Alexander r=LpSolit, a=LpSolit --- template/en/default/admin/sanitycheck/messages.html.tmpl | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'template/en/default/admin') diff --git a/template/en/default/admin/sanitycheck/messages.html.tmpl b/template/en/default/admin/sanitycheck/messages.html.tmpl index 2847a35e7..b65f8eac5 100644 --- a/template/en/default/admin/sanitycheck/messages.html.tmpl +++ b/template/en/default/admin/sanitycheck/messages.html.tmpl @@ -310,8 +310,13 @@ [% END %] [% END %] -[% san_message FILTER html %] - +[% USE Bugzilla %] +[% IF Bugzilla.usage_mode == constants.USAGE_MODE_CMDLINE %] + [% san_message FILTER none %] +[% ELSE %] + [%# Avoid the txt filter in message.txt.tmpl. %] + [% san_message FILTER html %] +[% END %] [% BLOCK bug_list %] [% FOREACH bug_id = badbugs %] -- cgit v1.2.3-24-g4f1b