From c2dbe36096332d1e09bc58d7d9903e05247f0c9b Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Tue, 10 Nov 2020 11:30:04 -0800 Subject: [PATCH] add config to display note at top, RT#84990 --- httemplate/elements/dashboard-topnotes.html | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 httemplate/elements/dashboard-topnotes.html diff --git a/httemplate/elements/dashboard-topnotes.html b/httemplate/elements/dashboard-topnotes.html new file mode 100644 index 000000000..28ca025a0 --- /dev/null +++ b/httemplate/elements/dashboard-topnotes.html @@ -0,0 +1,15 @@ +% if ( $notes ) { + + +
+ <% $notes %> +
+
+% } +<%init> + +my $conf = new FS::Conf; + +my $notes = join('
', map encode_entities($_), $conf->config('dashboard-topnotes') ); + + -- 2.11.0