[Rt-commit] rt branch, 3.8-trunk, updated. rt-3.8.6-120-g9af5e79
jesse
jesse at bestpractical.com
Thu Dec 3 14:39:29 EST 2009
The branch, 3.8-trunk has been updated
via 9af5e79efcad3e8bffc9c2fe97d3fabc53f42cac (commit)
via 6241b7df1b3d755c097b497b696134b8d4c2b6e3 (commit)
from 4f0d3e64378107be6bd40f377d3250f3031cfa9f (commit)
Summary of changes:
share/html/NoAuth/css/web2/msie.css | 7 +++++++
share/html/Ticket/Elements/ShowMessageStanza | 3 ++-
.../Ticket/Elements/ShowTransactionAttachments | 2 +-
3 files changed, 10 insertions(+), 2 deletions(-)
- Log -----------------------------------------------------------------
commit 6241b7df1b3d755c097b497b696134b8d4c2b6e3
Author: Jesse Vincent <jesse at bestpractical.com>
Date: Wed Dec 2 17:18:32 2009 -0500
Make the plain-text-mono stuff not try to wrap html mail
diff --git a/share/html/Ticket/Elements/ShowMessageStanza b/share/html/Ticket/Elements/ShowMessageStanza
index 0d4fe61..9d2f211 100755
--- a/share/html/Ticket/Elements/ShowMessageStanza
+++ b/share/html/Ticket/Elements/ShowMessageStanza
@@ -48,7 +48,8 @@
<%perl>
if ( ref $Message ) {
$m->out('<pre>') if $plain_text_pre && !$Depth && !$plain_text_mono;
- $m->out( qq{<div class="message-stanza-depth-$Depth">} );
+ $m->out( qq{<div class="message-stanza-depth-$Depth } .($plain_text_mono ? "plain-text-white-space" : "") .qq{">} );
+
my @stack;
my $para = '';
diff --git a/share/html/Ticket/Elements/ShowTransactionAttachments b/share/html/Ticket/Elements/ShowTransactionAttachments
index 9c40b28..242725a 100644
--- a/share/html/Ticket/Elements/ShowTransactionAttachments
+++ b/share/html/Ticket/Elements/ShowTransactionAttachments
@@ -76,7 +76,7 @@ foreach my $message ( grep $_->__Value('Parent') == $Parent, @$Attachments ) {
% if ( scalar ( grep $_->__Value('Parent') == $message->id, @$Attachments ) ) {
<div class="messageattachments">
% } else {
-<div class="messagebody <% RT->Config->Get('PlainTextMono', $session{'CurrentUser'}) ? ' plain-text-white-space' : ''%>">
+<div class="messagebody">
% }
<%PERL>
commit 9af5e79efcad3e8bffc9c2fe97d3fabc53f42cac
Author: Jesse Vincent <jesse at bestpractical.com>
Date: Wed Dec 2 17:21:42 2009 -0500
make the plaintext mono feature work in IE
diff --git a/share/html/NoAuth/css/web2/msie.css b/share/html/NoAuth/css/web2/msie.css
index 184ac1d..2297c30 100644
--- a/share/html/NoAuth/css/web2/msie.css
+++ b/share/html/NoAuth/css/web2/msie.css
@@ -237,3 +237,10 @@ table.queue-summary td, td.collection-as-table {
#pick-criteria td.operator {
width: 7.5em;
}
+
+.plain-text-white-space {
+ word-wrap: break-word; /* Internet Explorer 5.5+ */
+ white-space: pre; /* IE only hack to re-specify in addition to
+ word-wrap */
+}
+
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list