Lines 109-117
$(document).ready(function() {
Link Here
|
109 |
<option value="">All libraries</option> |
109 |
<option value="">All libraries</option> |
110 |
[% FOREACH branch IN branches_loop %] |
110 |
[% FOREACH branch IN branches_loop %] |
111 |
[% IF ( branch.selected ) %] |
111 |
[% IF ( branch.selected ) %] |
112 |
<option selected="selected" value="[% branch.branchcode %]">[% branch.branchname %]</option> |
112 |
<option selected="selected" value="[% branch.branchcode %]">[% branch.branchname |html %]</option> |
113 |
[% ELSE %] |
113 |
[% ELSE %] |
114 |
<option value="[% branch.branchcode %]">[% branch.branchname %]</option> |
114 |
<option value="[% branch.branchcode %]">[% branch.branchname |html %]</option> |
115 |
[% END %] |
115 |
[% END %] |
116 |
[% END %] |
116 |
[% END %] |
117 |
</select> |
117 |
</select> |
Lines 164-170
$(document).ready(function() {
Link Here
|
164 |
[% IF op == 'list' %] |
164 |
[% IF op == 'list' %] |
165 |
|
165 |
|
166 |
<div id="toolbar" class="btn-toolbar"> |
166 |
<div id="toolbar" class="btn-toolbar"> |
167 |
<a id="addauth" class="btn btn-default btn-sm" href= "/cgi-bin/koha/admin/authorised_values.pl?op=add_form&category=[% category %]"><i class="fa fa-plus"> </i> New authorized value for [% category %]</a> |
167 |
<a id="addauth" class="btn btn-default btn-sm" href= "/cgi-bin/koha/admin/authorised_values.pl?op=add_form&category=[% category %]"><i class="fa fa-plus"> </i> New authorized value for [% category |html %]</a> |
168 |
<a id="addcat" class="btn btn-default btn-sm" href= "/cgi-bin/koha/admin/authorised_values.pl?op=add_form"><i class="fa fa-plus"> </i> New category</a> |
168 |
<a id="addcat" class="btn btn-default btn-sm" href= "/cgi-bin/koha/admin/authorised_values.pl?op=add_form"><i class="fa fa-plus"> </i> New category</a> |
169 |
</div> |
169 |
</div> |
170 |
|
170 |
|
Lines 207-215
$(document).ready(function() {
Link Here
|
207 |
<select name="searchfield" id="searchfield" size="1"> |
207 |
<select name="searchfield" id="searchfield" size="1"> |
208 |
[% FOR c IN categories %] |
208 |
[% FOR c IN categories %] |
209 |
[% IF c == searchfield %] |
209 |
[% IF c == searchfield %] |
210 |
<option value="[% c %]" selected="selected">[% c %]</option> |
210 |
<option value="[% c %]" selected="selected">[% c |html %]</option> |
211 |
[% ELSE %] |
211 |
[% ELSE %] |
212 |
<option value="[% c %]">[% c %]</option> |
212 |
<option value="[% c %]">[% c |html %]</option> |
213 |
[% END %] |
213 |
[% END %] |
214 |
[% END %] |
214 |
[% END %] |
215 |
<input type="submit" value="Submit" /> |
215 |
<input type="submit" value="Submit" /> |
Lines 250-256
$(document).ready(function() {
Link Here
|
250 |
[% IF ( category == 'NOT_LOAN' ) %] |
250 |
[% IF ( category == 'NOT_LOAN' ) %] |
251 |
<p>Statuses to describe why an item is not for loan</p> |
251 |
<p>Statuses to describe why an item is not for loan</p> |
252 |
[% END %] |
252 |
[% END %] |
253 |
<h3>Authorized values for category [% category %]:</h3> |
253 |
<h3>Authorized values for category [% category |html %]:</h3> |
254 |
|
254 |
|
255 |
[% IF ( loop ) %]<div id="pagertable_authorized_values"> |
255 |
[% IF ( loop ) %]<div id="pagertable_authorized_values"> |
256 |
</div>[% END %] |
256 |
</div>[% END %] |
Lines 272-279
$(document).ready(function() {
Link Here
|
272 |
<tr> |
272 |
<tr> |
273 |
[% END %] |
273 |
[% END %] |
274 |
<td>[% loo.authorised_value %]</td> |
274 |
<td>[% loo.authorised_value %]</td> |
275 |
<td>[% loo.lib %]</td> |
275 |
<td>[% loo.lib |html %]</td> |
276 |
<td>[% loo.lib_opac %]</td> |
276 |
<td>[% loo.lib_opac |html %]</td> |
277 |
<td>[% IF ( loo.imageurl ) %]<img src="[% loo.imageurl %]" alt=""/>[% ELSE %] [% END %]</td> |
277 |
<td>[% IF ( loo.imageurl ) %]<img src="[% loo.imageurl %]" alt=""/>[% ELSE %] [% END %]</td> |
278 |
<td> |
278 |
<td> |
279 |
[% IF loo.branches.size > 0 %] |
279 |
[% IF loo.branches.size > 0 %] |
Lines 296-302
$(document).ready(function() {
Link Here
|
296 |
</tr> |
296 |
</tr> |
297 |
[% END %] |
297 |
[% END %] |
298 |
</tbody></table>[% ELSE %] |
298 |
</tbody></table>[% ELSE %] |
299 |
<div class="dialog message">There are no authorized values defined for [% category %]</div> |
299 |
<div class="dialog message">There are no authorized values defined for [% category |html %]</div> |
300 |
[% END %] |
300 |
[% END %] |
301 |
|
301 |
|
302 |
[% IF ( isprevpage ) %] |
302 |
[% IF ( isprevpage ) %] |