LP #1466173 Selfcheck Hide UI Elements Until Patron Auth
[Evergreen.git] / Open-ILS / src / templates / circ / selfcheck / main.tt2
index 6790bb8..2fb44fd 100644 (file)
@@ -1,17 +1,18 @@
-[% ctx.page_title = 'Self Checkout' %]
+[% ctx.page_title = l('Self Checkout') %]
 [% WRAPPER base.tt2 %]
 <script type="text/javascript" src='[% ctx.media_prefix %]/js/ui/default/circ/selfcheck/selfcheck.js'> </script>
 <script type="text/javascript" src="[% ctx.media_prefix %]/js/ui/default/circ/selfcheck/payment.js"></script>
 <link rel='stylesheet' type='text/css' href='[% ctx.media_prefix %]/css/skin/[% ctx.skin %]/selfcheck.css'/>
 [% INCLUDE 'circ/selfcheck/audio_config.tt2' %]
+[% INCLUDE 'circ/selfcheck/logout_dialog.tt2' %]
 
 <div id='oils-selfck-top-div'>
     [% INCLUDE 'circ/selfcheck/banner.tt2' %]
 </div>
-<div id='oils-selfck-bottom-div'>
+<div id='oils-selfck-bottom-div' class="hidden">
     <div id='oils-selfck-content-div'>
         <div id='oils-selfck-content-header'>
-            <span><a id='oils-selfck-print-list-link' href='javascript:void(0);'>Print List</a></span>
+            <span><a id='oils-selfck-print-list-link' href='javascript:void(0);'><button type="button" class="self-button">[% l('Print List') %]</button></a></span>
         </div>
         <div id='oils-selfck-circ-page' class='hidden'>
             <!-- Checkout / renewal and items out interface -->
     <form>
         <table>
             <tr>
-                <td>Choose a location</td>
+                <td>[% l('Choose a location') %]</td>
                 <td><div dojoType='openils.widget.OrgUnitFilteringSelect' jsId='oilsSelfckWsLocSelector' 
                     searchAttr='shortname' labelAttr='shortname'></div></td>
             </tr>
             <tr>
-                <td>Enter a workstation name</td>
+                <td>[% l('Enter a workstation name') %]</td>
                 <td><input dojoType='dijit.form.TextBox' jsId='oilsSelfckWsName'/></td>
             </tr>
             <tr>
                 <td colspan='2' align='center'>
-                    <button jsId='oilsSelfckWsSubmit' dojoType='dijit.form.Button'>Submit</button>
+                    <button jsId='oilsSelfckWsSubmit' dojoType='dijit.form.Button'>[% l('Submit') %]</button>
                 </td>
             </tr>
         </table>
     </form>
 </div>
+
 [% END %]