[rt-users] Fontsize change
Christian Schwarz, UNIX-Admin
sysadmin at ff-muenchen.de
Fri Sep 15 09:10:32 EDT 2000
On Fri, 15 Sep 2000, SCD, Dirk Schulz wrote:
> Hi there!
>
> I would like to change the font size of the text entries in the Transcation
> list within Details view. They are way too small. Where to look, any hint?
I had the same problem and patched RT for this--see the attached patch
file. (Apply this patch to lib/rt/ui/web/manipulate.pm)
The patch does two things:
- Font-Size of message body is set to default font size (instead of size
-1)
- Only intresting Email-header fields are displayed, the rest is omitted
(If you want to have only one of these to changes, just look at the patch
and edit the file yourself--the change is pretty easy.)
Hope this helps,
CS
--
Christian Schwarz, F&F UNIX/Linux System Administrator
F&F Computer Anwendungen Tel: 089/51727-0
und Unternehmensberatung GmbH Fax: 089/51727-111
Westendstr. 195 Mail:C.Schwarz at ff-muenchen.de
D-80686 Muenchen http://www.ff-muenchen.de
-------------- next part --------------
--- manipulate.pm.orig Thu Sep 7 17:05:21 2000
+++ manipulate.pm Thu Sep 7 17:13:05 2000
@@ -11,7 +11,9 @@
use Time::Local;
$QUEUE_FONT="-1";
-$MESSAGE_FONT="-1";
+#CS-20000907:
+#$MESSAGE_FONT="-1";
+$MESSAGE_FONT="+0";
$frames=&rt::ui::web::frames();
&rt::ui::web::cgi_vars_in();
&initialize_sn();
@@ -775,7 +777,9 @@
<TABLE CELLPADDING=20 width=\"100%\"><TR><TD BGCOLOR=\"\#EEEEEE\">
<font size=\"$MESSAGE_FONT\">";
- &rt::ui::web::print_transaction('all','received',$rt::req[$serial_num]{'trans'}[$temp]{'content'});
+ #CS-20000907
+ #&rt::ui::web::print_transaction('all','received',$rt::req[$serial_num]{'trans'}[$temp]{'content'});
+ &rt::ui::web::print_transaction('^(date|from|to|cc)$','received',$rt::req[$serial_num]{'trans'}[$temp]{'content'});
print "</font></TD></TR></TABLE></TD></TR>";
}
More information about the rt-users
mailing list