diff options
author | Ivan Kohler <ivan@freeside.biz> | 2020-11-10 11:30:04 -0800 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2020-11-10 11:30:04 -0800 |
commit | c2dbe36096332d1e09bc58d7d9903e05247f0c9b (patch) | |
tree | 7c77ca4289a48e73abb902e5294d8577debd6f27 /httemplate | |
parent | 05f43c12f97943e77bfb0d3ad253ccf7a38c0c0f (diff) |
add config to display note at top, RT#84990
Diffstat (limited to 'httemplate')
-rw-r--r-- | httemplate/elements/dashboard-topnotes.html | 15 |
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 000000000..28ca025a0 --- /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> |