Lines 1-10
Link Here
|
1 |
[% USE raw %] |
1 |
[% USE raw %] |
2 |
[% USE Asset %] |
2 |
[% USE Asset %] |
3 |
[% USE Koha %] |
3 |
[% USE Koha %] |
|
|
4 |
[% PROCESS 'restriction-types.inc' %] |
4 |
[% SET footerjs = 1 %] |
5 |
[% SET footerjs = 1 %] |
5 |
[% INCLUDE 'doc-head-open.inc' %] |
6 |
[% INCLUDE 'doc-head-open.inc' %] |
6 |
<title>[% IF op == 'add_form' %][% IF ( restriction ) %]Modify restriction '[% PROCESS restriction_type_description %]'[% ELSE %]New restriction[% END %][% END %] |
7 |
<title>[% IF op == 'add_form' %][% IF ( restriction ) %]Modify restriction '[% PROCESS restriction_type_description restriction_type=restriction %]'[% ELSE %]New restriction[% END %][% END %] |
7 |
[% IF op == 'delete_confirm' %]Confirm deletion of restriction '[% PROCESS restriction_type_description %]'[% END %] › Patron restrictions › Administration › Koha |
8 |
[% IF op == 'delete_confirm' %]Confirm deletion of restriction '[% PROCESS restriction_type_description restriction_type=restriction %]'[% END %] › Patron restrictions › Administration › Koha |
8 |
</title> |
9 |
</title> |
9 |
[% INCLUDE 'doc-head-close.inc' %] |
10 |
[% INCLUDE 'doc-head-close.inc' %] |
10 |
</head> |
11 |
</head> |
Lines 37-43
Link Here
|
37 |
[% IF restriction %] |
38 |
[% IF restriction %] |
38 |
<li> |
39 |
<li> |
39 |
<a href="#" aria-current="page"> |
40 |
<a href="#" aria-current="page"> |
40 |
Modify restriction '[% PROCESS restriction_type_description %]' |
41 |
Modify restriction '[% PROCESS restriction_type_description restriction_type=restriction %]' |
41 |
</a> |
42 |
</a> |
42 |
</li> |
43 |
</li> |
43 |
[% ELSE %] |
44 |
[% ELSE %] |
Lines 68-74
Link Here
|
68 |
<main> |
69 |
<main> |
69 |
|
70 |
|
70 |
[% FOR m IN messages %] |
71 |
[% FOR m IN messages %] |
71 |
<div class="dialog [% m.type | html %]"> |
72 |
<div class="dialog [% m | html %]"> |
72 |
[% SWITCH m.code %] |
73 |
[% SWITCH m.code %] |
73 |
[% CASE 'add_success' %] |
74 |
[% CASE 'add_success' %] |
74 |
Type added |
75 |
Type added |
Lines 95-101
Link Here
|
95 |
<input type="hidden" name="op" value="add_validate" /> |
96 |
<input type="hidden" name="op" value="add_validate" /> |
96 |
<input type="hidden" name="checked" value="0" /> |
97 |
<input type="hidden" name="checked" value="0" /> |
97 |
[% IF restriction %] |
98 |
[% IF restriction %] |
98 |
<h1>Modify restriction [% PROCESS restriction_type_description %]</h1> |
99 |
<h1>Modify restriction [% PROCESS restriction_type_description restriction_type=restriction %]</h1> |
99 |
<input type="hidden" name="is_a_modif" value="1" /> |
100 |
<input type="hidden" name="is_a_modif" value="1" /> |
100 |
[% ELSE %] |
101 |
[% ELSE %] |
101 |
<h1>New restriction</h1> |
102 |
<h1>New restriction</h1> |
Lines 141-147
Link Here
|
141 |
Confirm restriction deletion |
142 |
Confirm restriction deletion |
142 |
</legend> |
143 |
</legend> |
143 |
|
144 |
|
144 |
<p>Are you sure you want to delete "[% PROCESS restriction_type_description %]"?</p> |
145 |
<p>Are you sure you want to delete "[% PROCESS restriction_type_description restriction_type=restriction %]"?</p> |
145 |
|
146 |
|
146 |
<fieldset class="action"> |
147 |
<fieldset class="action"> |
147 |
<input type="hidden" name="op" value="delete_confirmed" /> |
148 |
<input type="hidden" name="op" value="delete_confirmed" /> |
Lines 181-187
Link Here
|
181 |
[% restriction.code | html %] |
182 |
[% restriction.code | html %] |
182 |
</td> |
183 |
</td> |
183 |
<td> |
184 |
<td> |
184 |
[% PROCESS restriction_type_description %] |
185 |
[% PROCESS restriction_type_description restriction_type=restriction %] |
185 |
</td> |
186 |
</td> |
186 |
<td> |
187 |
<td> |
187 |
[% IF restriction.is_default %]Yes[% END %] |
188 |
[% IF restriction.is_default %]Yes[% END %] |
188 |
- |
|
|