76414f9468e13a3cfae5537b07724f4ad4c0b9bf
[working/Evergreen.git] / Open-ILS / src / templates / staff / circ / patron / reg_actions.tt2
1 <!-- actions bar shared by both variations of the patron edit UI -->
2
3 <div>
4   <span>
5     [% l('Show:') %]
6     <span class="pad-all-min">
7       <a href 
8         ng-class="{disabled : edit_passthru.vis_level == 2}"
9         ng-click="edit_passthru.vis_level=2">[% l('Required Fields') %]</a>
10     </span>
11     <span class="pad-all-min">
12       <a href 
13         ng-class="{disabled : edit_passthru.vis_level == 1}"
14         ng-click="edit_passthru.vis_level=1">[% l('Suggested Fields') %]</a>
15     </span>
16     <span class="pad-all-min">
17       <a href 
18         ng-class="{disabled : edit_passthru.vis_level == 0}"
19         ng-click="edit_passthru.vis_level=0">[% l('All Fields') %]</a>
20     </span>
21   </span>
22 </div>
23 <div class="flex-cell"></div>
24 <div>
25   <span class="pad-all-min">
26     <button type="button" class="btn btn-default"
27       ng-click="edit_passthru.print()">[% l('Print') %]</button>
28   </span>
29   <span class="pad-all-min">
30     <button type="button" class="btn btn-default" 
31       ng-disabled="edit_passthru.hide_save_actions()"
32       ng-click="edit_passthru.save()">[% l('Save') %]</button>
33   </span>
34   <span ng-if="!offline" class="pad-all-min">
35     <button type="button" class="btn btn-default"
36       ng-disabled="edit_passthru.hide_save_actions()"
37       ng_click="edit_passthru.save({clone:true})">[% l('Save & Clone') %]</button>
38   </span>
39 </div>
40