[freeside-commits] branch FREESIDE_4_BRANCH updated. 6053a0a3a5baeb1c9f55e5df39bbc999c8ec8926
Ivan Kohler
ivan at freeside.biz
Tue Nov 10 11:30:08 PST 2020
The branch, FREESIDE_4_BRANCH has been updated
via 6053a0a3a5baeb1c9f55e5df39bbc999c8ec8926 (commit)
from 24f750c447915f1501dd7e9a6ea3aa4c3abff06d (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 6053a0a3a5baeb1c9f55e5df39bbc999c8ec8926
Author: Ivan Kohler <ivan at freeside.biz>
Date: Tue Nov 10 11:30:07 2020 -0800
add config to display note at top, RT#84990
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>
-----------------------------------------------------------------------
Summary of changes:
httemplate/elements/dashboard-topnotes.html | 15 +++++++++++++++
1 file changed, 15 insertions(+)
create mode 100644 httemplate/elements/dashboard-topnotes.html
More information about the freeside-commits
mailing list