[open-ils-commits] [GIT] Evergreen ILS branch master updated. bd8912ee2d1016619ee208d513815072071fc6be

Evergreen Git git at git.evergreen-ils.org
Thu Aug 23 11:56:29 EDT 2018


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, master has been updated
       via  bd8912ee2d1016619ee208d513815072071fc6be (commit)
      from  f051ccd8106e9d959e763f1c1680817c575bcc05 (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 bd8912ee2d1016619ee208d513815072071fc6be
Author: Jeff Davis <jdavis at sitka.bclibraries.ca>
Date:   Wed Nov 15 14:36:21 2017 -0800

    LP#1732552: Move OPAC login username hint to separate template
    
    Signed-off-by: Jeff Davis <jdavis at sitka.bclibraries.ca>
    Signed-off-by: Bill Erickson <berickxx at gmail.com>

diff --git a/Open-ILS/src/templates/opac/parts/login/form.tt2 b/Open-ILS/src/templates/opac/parts/login/form.tt2
index f357e8a..3146d5b 100644
--- a/Open-ILS/src/templates/opac/parts/login/form.tt2
+++ b/Open-ILS/src/templates/opac/parts/login/form.tt2
@@ -22,8 +22,7 @@
             <div class="input_bg">
                 <input type='text' id="username_field" name="username" autofocus />
             </div>
-            <div class="lbl2">[% l('Please include leading zeros.') %]</div>
-            <div class="lbl2">[% l('Example: 0026626051') %]</div>
+            [% INCLUDE "opac/parts/login/username_hint.tt2" %]
         </div>
         <div class='float-left'>
             <label for="password_field" class="lbl1" >[% l('PIN Number or Password') %]</label>
diff --git a/Open-ILS/src/templates/opac/parts/login/username_hint.tt2 b/Open-ILS/src/templates/opac/parts/login/username_hint.tt2
new file mode 100644
index 0000000..f070c81
--- /dev/null
+++ b/Open-ILS/src/templates/opac/parts/login/username_hint.tt2
@@ -0,0 +1,6 @@
+<div class="lbl2">
+[% l('Please include leading zeros.') %]
+</div>
+<div class="lbl2">
+[% l('Example: 0026626051') %]
+</div>
diff --git a/docs/RELEASE_NOTES_NEXT/OPAC/username-hint.adoc b/docs/RELEASE_NOTES_NEXT/OPAC/username-hint.adoc
new file mode 100644
index 0000000..7fe99d5
--- /dev/null
+++ b/docs/RELEASE_NOTES_NEXT/OPAC/username-hint.adoc
@@ -0,0 +1,6 @@
+Username Login Hint
+^^^^^^^^^^^^^^^^^^^
+To make customization easier, the username hint on the OPAC login page ("Please
+include leading zeros...") has been moved to a separate TT2 template.  If you
+have customized the hint text, you will need to add your modifications to
+username_hint.tt2.

-----------------------------------------------------------------------

Summary of changes:
 Open-ILS/src/templates/opac/parts/login/form.tt2   |    3 +--
 .../templates/opac/parts/login/username_hint.tt2   |    6 ++++++
 docs/RELEASE_NOTES_NEXT/OPAC/username-hint.adoc    |    6 ++++++
 3 files changed, 13 insertions(+), 2 deletions(-)
 create mode 100644 Open-ILS/src/templates/opac/parts/login/username_hint.tt2
 create mode 100644 docs/RELEASE_NOTES_NEXT/OPAC/username-hint.adoc


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list