LP1490616: Adjust "Penalties & Messages" label (webby)
[working/Evergreen.git] / Open-ILS / src / templates / staff / circ / patron / t_messages.tt2
1
2 <div class="strong-text-2">[% l('Penalties and Messages') %]</div>
3 <div class="pad-vert"></div>
4 <eg-grid
5   idl-class="ausp"
6   grid-controls="activeGridControls"
7   dateformat="{{$root.egDateAndTimeFormat}}"
8   persist-key="circ.patron.staff_messages">
9
10   <eg-grid-menu-item handler="createPenalty"
11     label="[% l('Apply Penalty / Message') %]"></eg-grid-menu-item>
12
13   <eg-grid-action label="[% l('Remove Penalty / Message') %]" 
14     handler="removePenalty"></eg-grid-action>
15   <eg-grid-action label="[% l('Modify Penalty / Message') %]" 
16     handler="editPenalty"></eg-grid-action>
17   <eg-grid-action label="[% l('Archive Penalty / Message') %]" 
18     handler="archivePenalty"></eg-grid-action>
19
20   <eg-grid-field path="set_date" label="[% l('Applied On') %]" datatype="timestamp"></eg-grid-field>
21   <eg-grid-field path="standing_penalty.label"></eg-grid-field>
22   <eg-grid-field path="org_unit.shortname" label="[% l('Library') %]"></eg-grid-field>
23   <eg-grid-field path="note"></eg-grid-field>
24   <eg-grid-field path="id" required hidden></eg-grid-field>
25   <eg-grid-field path="standing_penalty.block_list" required hidden></eg-grid-field>
26   <eg-grid-field path="standing_penalty.*" hidden></eg-grid-field>
27
28 </eg-grid>
29
30 <div class="pad-vert"><hr/></div>
31
32 <div class="pad-vert row padded">
33   <div class="col-md-4">
34     <div class="strong-text-2">[% l('Archived Penalties / Messages') %]</div>
35   </div>
36   <div class="col-md-4">
37     <label>[% l('Set Date Start:') %]</label>
38     <eg-date-input ng-model="dates.start_date"></eg-date-input>
39   </div>
40   <div class="col-md-4">
41     <label>[% l('Set Date End:') %]</label>
42     <eg-date-input ng-model="dates.end_date"></eg-date-input>
43   </div>
44 </div>
45 <eg-grid
46   idl-class="ausp"
47   grid-controls="archiveGridControls"
48   dateformat="{{$root.egDateAndTimeFormat}}"
49   persist-key="circ.patron.archived_messages">
50
51   <eg-grid-field path="set_date" label="[% l('Applied On') %]" datatype="timestamp"></eg-grid-field>
52   <eg-grid-field path="standing_penalty.label"></eg-grid-field>
53   <eg-grid-field path="org_unit.shortname" label="[% l('Library') %]"></eg-grid-field>
54   <eg-grid-field path="note"></eg-grid-field>
55   <eg-grid-field path="id" required hidden></eg-grid-field>
56   <eg-grid-field path="standing_penalty.block_list" required hidden></eg-grid-field>
57   <eg-grid-field path="standing_penalty.*" hidden></eg-grid-field>
58
59 </eg-grid>
60
61