Fonts & Unfolding of email-headers?

Hi,

Our RT test-setup is working :). Thanks to the list for documenting the obvious
caveats :).

One of our team came up with two comments I don’t immediately have the answer
to. His observations:

-When looking at an incident report the body of a mail is displayed using a
proportional font. This can severely screw up the layout of formatted tables
(like logging). Is there a sane way to change the font only for the email?

-When all emailheaders are shown the headers are unfolded. Because apparently
the headers dictate the width of the page; this causes other blocks of
information to be moved ‘out-of-screen’ resulting in an increase of left-right
scrolling. Is there anything I can do about this?

And if my questions are stupid I’d like to hear that as well ;).

Jan

/~\ The ASCII / Jan Meijer
\ / Ribbon Campaign – -- SURFnet bv
X Against HTML / http://www.surfnet.nl/organisatie/jm/
/ \ Email http://cert.surfnet.nl/

Hi, Jan

-When looking at an incident report the body of a mail is displayed using a
proportional font. This can severely screw up the layout of formatted tables
(like logging). Is there a sane way to change the font only for the email?

Ok, this hasn’t really bothered me so far, but seems to be easy to fix:
I can see this: around the message, so
playing with the SPAN.message style in NoAuth/webrt.css file should do the
trick.
Btw. All “design” of RT interface is css-based which is really handy :slight_smile:

-When all emailheaders are shown the headers are unfolded. Because apparently
the headers dictate the width of the page; this causes other blocks of
information to be moved ‘out-of-screen’ resulting in an increase of left-right
scrolling. Is there anything I can do about this?

Yup, this is ugly. Can’t think of an obvious way to solve it just yet.
Will let you know when I take another look at the code.

Cheers,
Przemek
"Delenda est Carthago" /Cato Maior/ .d~^v
Przemyslaw Jaroszewski 8 E R T
CERT Polska, http://www.cert.pl/ `b.a’POLSKA|
przemek@cert.pl; tel.+48 22 5231377; fax.: +48 22 5231399

Hi Przemek,

-When looking at an incident report the body of a mail is displayed using a
proportional font. This can severely screw up the layout of formatted tables
(like logging). Is there a sane way to change the font only for the email?

Ok, this hasn’t really bothered me so far, but seems to be easy to fix:
I can see this: around the message, so
playing with the SPAN.message style in NoAuth/webrt.css file should do the
trick.
Btw. All “design” of RT interface is css-based which is really handy :slight_smile:

That I knew. But finding the right knob to turn is something different ;).
Right. For others that might want to change this: change it in
/usr/local/rt3/share/html/NoAuth/webrt.css (or /opt if you’re using something
other then FreeBSD) and change the value to:

SPAN.message {
font-size: 100%;
font-family: Courier New, Courier, monospace;
}

the monospace is the default font in case your client does not support Courer
New. According to our CSS person monospace is the standardized font for that
purpose.

-When all emailheaders are shown the headers are unfolded. Because apparently
the headers dictate the width of the page; this causes other blocks of
information to be moved ‘out-of-screen’ resulting in an increase of left-right
scrolling. Is there anything I can do about this?

Yup, this is ugly. Can’t think of an obvious way to solve it just yet.
Will let you know when I take another look at the code.

Great :).

and many thanks :).

Jan

/~\ The ASCII / Jan Meijer
\ / Ribbon Campaign – -- SURFnet bv
X Against HTML / http://www.surfnet.nl/organisatie/jm/
/ \ Email http://cert.surfnet.nl/

-When all emailheaders are shown the headers are unfolded. Because apparently
the headers dictate the width of the page; this causes other blocks of
information to be moved ‘out-of-screen’ resulting in an increase of left-right
scrolling. Is there anything I can do about this?

Yup, this is ugly. Can’t think of an obvious way to solve it just yet.
Will let you know when I take another look at the code.

Yep. RT 3.1.x (What will be 3.2) slices headers more reasonably. It
should be pretty easy to backport that change to RT 3.0. To answer the
obvious question, I believe that RTIR will need a bit of work to run on
top of RT 3.1/3.2, but that’s work we’re planning to do as RT 3.2
stabilizes.

Best,
Jesse

http://www.bestpractical.com/rt – Trouble Ticketing. Free.

Yup, this is ugly. Can’t think of an obvious way to solve it just yet.
Will let you know when I take another look at the code.

Yep. RT 3.1.x (What will be 3.2) slices headers more reasonably. It
should be pretty easy to backport that change to RT 3.0. To answer the
obvious question, I believe that RTIR will need a bit of work to run on
top of RT 3.1/3.2, but that’s work we’re planning to do as RT 3.2
stabilizes.

Thanks Jesse, it is good to hear the problem will go away :).

Jan

/~\ The ASCII / Jan Meijer
\ / Ribbon Campaign – -- SURFnet bv
X Against HTML / http://www.surfnet.nl/organisatie/jm/
/ \ Email http://cert.surfnet.nl/