From bd8912ee2d1016619ee208d513815072071fc6be Mon Sep 17 00:00:00 2001 From: Jeff Davis Date: Wed, 15 Nov 2017 14:36:21 -0800 Subject: [PATCH] LP#1732552: Move OPAC login username hint to separate template Signed-off-by: Jeff Davis Signed-off-by: Bill Erickson --- Open-ILS/src/templates/opac/parts/login/form.tt2 | 3 +-- Open-ILS/src/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 diff --git a/Open-ILS/src/templates/opac/parts/login/form.tt2 b/Open-ILS/src/templates/opac/parts/login/form.tt2 index f357e8a29e..3146d5bcd6 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 @@
-
[% l('Please include leading zeros.') %]
-
[% l('Example: 0026626051') %]
+ [% INCLUDE "opac/parts/login/username_hint.tt2" %]
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 0000000000..f070c81aea --- /dev/null +++ b/Open-ILS/src/templates/opac/parts/login/username_hint.tt2 @@ -0,0 +1,6 @@ +
+[% l('Please include leading zeros.') %] +
+
+[% l('Example: 0026626051') %] +
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 0000000000..7fe99d5288 --- /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. -- 2.11.0