add config to display note at top, RT#84990
[freeside.git] / httemplate / elements / dashboard-topnotes.html
diff --git a/httemplate/elements/dashboard-topnotes.html b/httemplate/elements/dashboard-topnotes.html
new file mode 100644 (file)
index 0000000..28ca025
--- /dev/null
@@ -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>