JBAS-2103 Rainbow combo card; label updates
authorBill Erickson <berickxx@gmail.com>
Fri, 14 Sep 2018 19:00:59 +0000 (15:00 -0400)
committerBill Erickson <berickxx@gmail.com>
Thu, 21 Mar 2019 19:46:23 +0000 (15:46 -0400)
Signed-off-by: Bill Erickson <berickxx@gmail.com>
KCLS/openils/var/templates_kcls/opac/register.tt2
Open-ILS/web/images/patron_cards/2018_Pride_Combo.png [new file with mode: 0644]

index 6ae3e7f..81acf0a 100644 (file)
@@ -41,8 +41,11 @@ wallet_cards = [
 # 'Card_Pride',
   '2016_Sasquatch_Card'
 ];
+# keychain_cards container doubles as the wallet/keychain combo container
+# If a time comes we need to support both, refactor here and the label
+# changes for wallet-key combo below.
 #keychain_cards = ['Keychain_red']; 
-keychain_cards = [];
+keychain_cards = ['2018_Pride_Combo'];
 
 MACRO input_field(fclass, fname, label, type, css_class, value) BLOCK;
   field_path = fclass _ "." _ fname; 
@@ -338,13 +341,22 @@ END; # input_field()
               <li>
                 <input type="radio" name='card-type' id="card-type-wallet" 
                   onclick="show_card_types('wallet')">
-                <label for="">Wallet</label>
+                <label for="">Wallet Size (3in x 2in)</label>
               </li>
+              <!--
               <li>
                 <input type="radio" id="card-type-keychain" name='card-type'
                   onclick="show_card_types('keychain')">
                 <label for="card-type-keychain">Keychain</label>
               </li>
+              -->
+              <li>
+                <input type="radio" id="card-type-keychain" name='card-type'
+                  onclick="show_card_types('keychain')">
+                <label for="card-type-keychain">
+                  Wallet-Key Combo (wallet: 3in x 2in, key chain card: 2in x 1in)
+                </label>
+              </li>
             </ul>
           </div>
         </li>
@@ -372,7 +384,10 @@ END; # input_field()
           <div class="grid-clear"></div>
         </li>
         <li id='keychain-cards' style='display:none'>
+          <!--
           <label>Keychain Options</label>
+          -->
+          <label>Wallet-Key Combo Options</label>
           <div class="grid">
             [% FOR ctype IN keychain_cards %]
             <div class="grid-cell">
diff --git a/Open-ILS/web/images/patron_cards/2018_Pride_Combo.png b/Open-ILS/web/images/patron_cards/2018_Pride_Combo.png
new file mode 100644 (file)
index 0000000..742a432
Binary files /dev/null and b/Open-ILS/web/images/patron_cards/2018_Pride_Combo.png differ