summaryrefslogtreecommitdiff
path: root/httemplate/view/elements
diff options
context:
space:
mode:
authorivan <ivan>2012-01-15 05:18:30 +0000
committerivan <ivan>2012-01-15 05:18:30 +0000
commita704467836221b68814deadbb1cb99a2af815c93 (patch)
tree7fa0ff5ed41e836d0d5d5a9e3ae3eb8f524daaa5 /httemplate/view/elements
parentffbcf0363fb3c17e33ccb90de0b3ad2dd6b14fb5 (diff)
display spam status on account view, RT#15987
Diffstat (limited to 'httemplate/view/elements')
-rw-r--r--httemplate/view/elements/svc_export_status.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/httemplate/view/elements/svc_export_status.html b/httemplate/view/elements/svc_export_status.html
new file mode 100644
index 000000000..7efd3df16
--- /dev/null
+++ b/httemplate/view/elements/svc_export_status.html
@@ -0,0 +1,24 @@
+% my ( $html, $hashref ) = $svc_x->export_getstatus;
+% if ( keys %$hashref ) {
+
+ Status settings
+ <% ntable('#cccccc',2) %>
+
+% foreach my $key ( sort {$a cmp $b} keys %$hashref ) {
+ <TR>
+ <TD ALIGN="right"><% $key |h %></TD>
+ <TD BGCOLOR="#ffffff">
+ <B><% $hashref->{$key} |h %></B>
+ </TD>
+ </TR>
+% }
+
+ </TABLE>
+ <BR>
+
+% }
+<%init>
+
+my $svc_x = shift;
+
+</%init>