[Rt-commit] r3615 - in rt/branches/3.5-TESTING: .
html/NoAuth/css/3.5-default html/Ticket/Elements
trs at bestpractical.com
trs at bestpractical.com
Sat Aug 6 19:25:59 EDT 2005
Author: trs
Date: Sat Aug 6 19:25:59 2005
New Revision: 3615
Modified:
rt/branches/3.5-TESTING/ (props changed)
rt/branches/3.5-TESTING/html/NoAuth/css/3.5-default/transactions.css
rt/branches/3.5-TESTING/html/Ticket/Elements/ShowMessageStanza
Log:
r5706 at wintermute: tom | 2005-08-06 19:25:38 -0400
Fixed the problem with newlines not being output as <br /> and added some padding
Modified: rt/branches/3.5-TESTING/html/NoAuth/css/3.5-default/transactions.css
==============================================================================
--- rt/branches/3.5-TESTING/html/NoAuth/css/3.5-default/transactions.css (original)
+++ rt/branches/3.5-TESTING/html/NoAuth/css/3.5-default/transactions.css Sat Aug 6 19:25:59 2005
@@ -124,6 +124,7 @@
.ticket-transaction .messagebody {
clear: both;
padding-left: 3em;
+ padding-bottom: 1em;
}
%# Message stanza colors
Modified: rt/branches/3.5-TESTING/html/Ticket/Elements/ShowMessageStanza
==============================================================================
--- rt/branches/3.5-TESTING/html/Ticket/Elements/ShowMessageStanza (original)
+++ rt/branches/3.5-TESTING/html/Ticket/Elements/ShowMessageStanza Sat Aug 6 19:25:59 2005
@@ -57,18 +57,19 @@
my $content = $stanza->{raw};
RT::Interface::Web::EscapeUTF8(\$content);
$m->comp('/Elements/Callback', content => \$content, %ARGS);
- $content =~ s/\n/<br>/gi if defined $content;
+ $content =~ s{\z}{<br />}g
+ if defined $content;
</%perl>
<%$content |n%>
-% }
+% }
% } # end foreach
</div>
% } else {
-% my $content = $Message;
-% RT::Interface::Web::EscapeUTF8(\$content);
-% $m->comp('/Elements/Callback', content => \$content, %ARGS);
-% $content =~ s/\n/<br>/gi;
+% my $content = $Message;
+% RT::Interface::Web::EscapeUTF8(\$content);
+% $m->comp('/Elements/Callback', content => \$content, %ARGS);
+% $content =~ s{\z}{<br />}g;
<%$content |n%>
% }
<%INIT>
More information about the Rt-commit
mailing list