In ShowTransactions, ShowMessageHeaders is wrapped in a
block. On a
lot of my tickets with multiple recipients, this mades for an ugly display,
scrolling off to the right.
Why a
instead of ?
matthew zeier | “Nothing in life is to be feared.
InteleNet Communications, Inc. | It is only to be understood.”
(949) 784-7904 | - Marie Curie
In ShowMessageHeaders, I’ve added:
My solution was to wrap the headers. I did this a quick and dirty
hack, intending to go back and add some configurability to it. Below
is a diff for ShowMessageHeaders.
Michael
— /opt/rt3/share/html/Ticket/Elements/ShowMessageHeaders 2004-01-02 17:55:55.000000000 -0500
+++ /opt/rt3/local/html/Ticket/Elements/ShowMessageHeaders 2004-02-18 10:08:32.000000000 -0500
@@ -23,7 +23,12 @@
%# END LICENSE BLOCK
<%$content |n%>
<%INIT>
-my $content = $Headers;
+my $temp = $Headers;
+require Text::Wrapper;
+my $content = Text::Wrapper->new(columns => 60)->wrap($temp);
RT::Interface::Web::EscapeUTF8($content);
$m->comp(‘/Elements/Callback’, content => $content, %ARGS);
</%INIT>
Michael S. Liebman m-liebman@northwestern.edu
http://msl521.freeshell.org/
“I have vision and the rest of the world wears bifocals.”
-Paul Newman in “Butch Cassidy & the Sundance Kid”