summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2020-11-10 11:30:04 -0800
committerIvan Kohler <ivan@freeside.biz>2020-11-10 11:30:04 -0800
commitc2dbe36096332d1e09bc58d7d9903e05247f0c9b (patch)
tree7c77ca4289a48e73abb902e5294d8577debd6f27 /httemplate
parent05f43c12f97943e77bfb0d3ad253ccf7a38c0c0f (diff)
add config to display note at top, RT#84990
Diffstat (limited to 'httemplate')
-rw-r--r--httemplate/elements/dashboard-topnotes.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/httemplate/elements/dashboard-topnotes.html b/httemplate/elements/dashboard-topnotes.html
new file mode 100644
index 0000000..28ca025
--- /dev/null
+++ b/httemplate/elements/dashboard-topnotes.html
@@ -0,0 +1,15 @@
+% if ( $notes ) {
+ <TABLE CLASS="fsinnerbox">
+ <TR><TD>
+ <% $notes %>
+ </TD></TR>
+ </TABLE>
+ <BR>
+% }
+<%init>
+
+my $conf = new FS::Conf;
+
+my $notes = join('<BR>', map encode_entities($_), $conf->config('dashboard-topnotes') );
+
+</%init>