From 0fe4d7eed9b8ce0953d699e10986927ca8c4a4d2 Mon Sep 17 00:00:00 2001 From: ivan Date: Wed, 29 Jun 2011 01:42:49 +0000 Subject: [PATCH] self-service skinning improvements, RT#13199 --- fs_selfservice/FS-SelfService/cgi/invoices.html | 2 +- fs_selfservice/FS-SelfService/cgi/myaccount.html | 16 +++++++++++----- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/fs_selfservice/FS-SelfService/cgi/invoices.html b/fs_selfservice/FS-SelfService/cgi/invoices.html index c4eece32a..d155b9343 100644 --- a/fs_selfservice/FS-SelfService/cgi/invoices.html +++ b/fs_selfservice/FS-SelfService/cgi/invoices.html @@ -13,7 +13,7 @@ my $td = qq!!; my $a=qq!'; $OUT .= - "$td${a}Invoice #". $invoice->{'invnum'}. "$td". + "$td${a}Invoice #". $invoice->{'invnum'}. "$td ". "$td$a". $invoice->{'date'}. "$td". ''; $col = $col eq $col1 ? $col2 : $col1; diff --git a/fs_selfservice/FS-SelfService/cgi/myaccount.html b/fs_selfservice/FS-SelfService/cgi/myaccount.html index b15988387..3830aa1ad 100644 --- a/fs_selfservice/FS-SelfService/cgi/myaccount.html +++ b/fs_selfservice/FS-SelfService/cgi/myaccount.html @@ -59,7 +59,7 @@ Hello <%= $name %>!

if ( @support_services ) { $OUT .= ''. ''. - ''. + ''. ''; my $col1 = "ffffff"; my $col2 = "dddddd"; @@ -70,9 +70,10 @@ Hello <%= $name %>!

my $a = qq!'; $OUT .= - "$td$a". $support->{'pkgnum'}. "". - $td.$a. $support->{'pkg'}. "". - $td.$a. $support->{'time'}. "". + "". + $td.$a. $support->{'pkg'}. "". + $td.' '. + $td.$a. $support->{'time'}. "". ''; $col = $col eq $col1 ? $col2 : $col1; } @@ -82,6 +83,11 @@ Hello <%= $name %>!

} %> -<%= include('ticket_summary') if @tickets %> +<%= if ( @tickets) { + $OUT .= include('ticket_summary'); + } else { + $OUT .= ''; + } +%> <%= include('footer') %> -- 2.20.1
Support Time Remaining
#Package
PackageTime Remaining