From: Bill Erickson Date: Thu, 24 Jan 2019 20:02:46 +0000 (-0500) Subject: New self-reg cards Jan 2019 X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=73d59ebe5958fa2c89ad48c1e15c12c37fc8c4f0;p=working%2FEvergreen.git New self-reg cards Jan 2019 Signed-off-by: Bill Erickson --- diff --git a/KCLS/openils/var/templates_kcls/opac/register.tt2 b/KCLS/openils/var/templates_kcls/opac/register.tt2 index 97fbc5f0c0..bcf2fc798f 100644 --- a/KCLS/openils/var/templates_kcls/opac/register.tt2 +++ b/KCLS/openils/var/templates_kcls/opac/register.tt2 @@ -49,7 +49,9 @@ keychain_cards = [ '2019_Dog_Combo', '2018_Pride_Combo', '2019_Sasquatch_Combo', - '2018_Slug' + '2018_Slug', + '2019_Wilson', + '2019_Ciara' ]; MACRO input_field(fclass, fname, label, type, css_class, value) BLOCK; @@ -394,7 +396,13 @@ END; # input_field() -->
- [% FOR ctype IN keychain_cards %] + [% card_idx = 0; + # limit to 2 cards per line + FOR ctype IN keychain_cards; + IF card_idx > 0 AND card_idx % 2 == 0 %] +
+ [% END %] + [% card_idx = card_idx + 1; %]
diff --git a/Open-ILS/web/images/patron_cards/2019_Ciara.png b/Open-ILS/web/images/patron_cards/2019_Ciara.png new file mode 100644 index 0000000000..e9aabd858e Binary files /dev/null and b/Open-ILS/web/images/patron_cards/2019_Ciara.png differ diff --git a/Open-ILS/web/images/patron_cards/2019_Wilson.png b/Open-ILS/web/images/patron_cards/2019_Wilson.png new file mode 100644 index 0000000000..057f6c5c35 Binary files /dev/null and b/Open-ILS/web/images/patron_cards/2019_Wilson.png differ