diff options
| author | Ivan Kohler <ivan@freeside.biz> | 2020-11-10 11:30:07 -0800 | 
|---|---|---|
| committer | Ivan Kohler <ivan@freeside.biz> | 2020-11-10 11:30:07 -0800 | 
| commit | 6053a0a3a5baeb1c9f55e5df39bbc999c8ec8926 (patch) | |
| tree | fca74b63cc0c8b79c87879f0d328113496fa6bf2 | |
| parent | 24f750c447915f1501dd7e9a6ea3aa4c3abff06d (diff) | |
add config to display note at top, RT#84990
| -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> | 
