From 9fae251fc1e3069694ebaf4fae62bde844f45cff Mon Sep 17 00:00:00 2001 From: Mark Wells Date: Wed, 11 Jun 2014 13:51:22 -0700 Subject: display sent mail on customer notes page, and improve sent mail log UI, #29250 --- httemplate/view/cust_msg.html | 86 +++++++++++++++++++++++++++++++------------ 1 file changed, 62 insertions(+), 24 deletions(-) (limited to 'httemplate/view/cust_msg.html') diff --git a/httemplate/view/cust_msg.html b/httemplate/view/cust_msg.html index 67ceef799..91a08ebda 100755 --- a/httemplate/view/cust_msg.html +++ b/httemplate/view/cust_msg.html @@ -1,4 +1,16 @@ <& /elements/header-popup.html &> + + @@ -8,31 +20,35 @@ % if ( $cust_msg->error ) { % } - - +<& /elements/menubar.html, + { 'newstyle' => 1, + 'url_base' => $cgi->self_url . ';part=', + 'selected' => $selected_index, + }, + map { $partnames[$_] => $_ } (0 .. scalar(@parts) - 1), +&>
From:<% $cust_msg->env_from %>
To:<% $env_to %>
Error:<% encode_entities($cust_msg->error) %>
-
- - Header - Body -
-
- - -
+
+% if ( $selected_part->isa('MIME::Entity') ) { +% my $type = $selected_part->mime_type; +% if ( $type =~ /^text/ ) { +%#