X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Fheader-full.html;h=5a5db962083552f70c996498cddcdf252aa7c1e4;hb=01721976fa3324f41a3093cda68bc38a7eec5ff5;hp=5586a0a85e333872e5d0d8c74f072320cf0bfba9;hpb=ca5b439d4e874bec01a346f53f2bd9e50d612151;p=freeside.git
diff --git a/httemplate/elements/header-full.html b/httemplate/elements/header-full.html
index 5586a0a85..5a5db9620 100644
--- a/httemplate/elements/header-full.html
+++ b/httemplate/elements/header-full.html
@@ -204,8 +204,10 @@ Example:
% if ( $cookies{freeside_status} ) {
% foreach my $status_msg ( $cookies{freeside_status}->value ) {
-
- <% $status_msg |h %> |
+% my ($message, $type) = split /=/, $status_msg;
+% $type ||= 'status';
+
+ <% $message |h %> |
% }
@@ -270,4 +272,8 @@ if ( scalar(@agentnums) == 1 ) {
$company_url = $conf->config('company_url');
}
+## status->green(#eeffee), warning->yellow(#fdfd96), error->red(#f97c7c)
+my %status_color = ( 'status' => '#eeffee', 'warning' => '#fefbd0', 'error' => '#f97c7c', );
+my %status_image = ( 'status' => 'images/tick.png', 'warning' => 'images/tick.png', 'error' => 'images/error.png', );
+
%init>