[freeside-commits] branch FREESIDE_3_BRANCH updated. fd70b5ffdcbd074e48a913bffbd21dffb7eacc10

Ivan Kohler ivan at freeside.biz
Tue Nov 10 11:30:11 PST 2020


The branch, FREESIDE_3_BRANCH has been updated
       via  fd70b5ffdcbd074e48a913bffbd21dffb7eacc10 (commit)
      from  624df68afd851c48e82721bf3889e5918cca71ee (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 fd70b5ffdcbd074e48a913bffbd21dffb7eacc10
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Tue Nov 10 11:30:10 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