|
Lines 75-83
Link Here
|
| 75 |
Authorized values |
75 |
Authorized values |
| 76 |
</a> |
76 |
</a> |
| 77 |
</li> |
77 |
</li> |
| 78 |
[% END %] |
78 |
[% END # /IF op == 'add_form' %] |
| 79 |
</ol> |
79 |
</ol> |
| 80 |
</nav> |
80 |
</nav> <!-- /#breadcrumbs --> |
| 81 |
|
81 |
|
| 82 |
<div class="main container-fluid"> |
82 |
<div class="main container-fluid"> |
| 83 |
<div class="row"> |
83 |
<div class="row"> |
|
Lines 143-149
Link Here
|
| 143 |
</select> |
143 |
</select> |
| 144 |
<div class="hint">Select 'All libraries' if this authorized value must be displayed all the time. Otherwise select libraries you want to associate with this value.</div> |
144 |
<div class="hint">Select 'All libraries' if this authorized value must be displayed all the time. Otherwise select libraries you want to associate with this value.</div> |
| 145 |
</li> |
145 |
</li> |
| 146 |
|
|
|
| 147 |
</ol> |
146 |
</ol> |
| 148 |
|
147 |
|
| 149 |
<div id="icons" class="toptabs" style="clear:both"> |
148 |
<div id="icons" class="toptabs" style="clear:both"> |
|
Lines 183-203
Link Here
|
| 183 |
[% END %] |
182 |
[% END %] |
| 184 |
</label> |
183 |
</label> |
| 185 |
</li> |
184 |
</li> |
| 186 |
[% END %] |
185 |
[% END # /FOREACH image %] |
| 187 |
</ul> |
186 |
</ul> |
| 188 |
<br class="clear" /> |
187 |
<br class="clear" /> |
| 189 |
</div> |
188 |
</div> |
| 190 |
[% END %] |
189 |
[% END # /FOREACH imageset %] |
| 191 |
</div> |
190 |
</div> <!-- /#icons --> |
| 192 |
[% END %] |
191 |
[% END # /IF action_add_category %] |
| 193 |
</fieldset> |
192 |
</fieldset> |
|
|
193 |
|
| 194 |
<fieldset class="action"> |
194 |
<fieldset class="action"> |
| 195 |
<input type="hidden" name="id" value="[% id | html %]" /> |
195 |
<input type="hidden" name="id" value="[% id | html %]" /> |
| 196 |
<input type="submit" value="Save" /> |
196 |
<input type="submit" value="Save" /> |
| 197 |
<a class="cancel" href="/cgi-bin/koha/admin/authorised_values.pl?searchfield=[% category_name | url %]">Cancel</a> |
197 |
<a class="cancel" href="/cgi-bin/koha/admin/authorised_values.pl?searchfield=[% category_name | url %]">Cancel</a> |
| 198 |
</fieldset> |
198 |
</fieldset> |
| 199 |
</form> |
199 |
</form> |
| 200 |
[% END %] |
200 |
[% END # /IF op == 'add_form' %] |
| 201 |
|
201 |
|
| 202 |
[% IF op == 'list' %] |
202 |
[% IF op == 'list' %] |
| 203 |
<div id="toolbar" class="btn-toolbar"> |
203 |
<div id="toolbar" class="btn-toolbar"> |
|
Lines 251-257
Link Here
|
| 251 |
[% m.code | html %] |
251 |
[% m.code | html %] |
| 252 |
[% END %] |
252 |
[% END %] |
| 253 |
</div> |
253 |
</div> |
| 254 |
[% END %] |
254 |
[% END # /FOR m IN messages %] |
| 255 |
|
255 |
|
| 256 |
[% IF ( searchfield ) %] |
256 |
[% IF ( searchfield ) %] |
| 257 |
|
257 |
|
|
Lines 268-274
Link Here
|
| 268 |
[% END %] |
268 |
[% END %] |
| 269 |
</select> |
269 |
</select> |
| 270 |
</p> |
270 |
</p> |
| 271 |
</form> |
271 |
</form> <!-- /#category --> |
| 272 |
|
272 |
|
| 273 |
[% IF loop %] |
273 |
[% IF loop %] |
| 274 |
<table id="categoriest" class="authorized_values_table"> |
274 |
<table id="categoriest" class="authorized_values_table"> |
|
Lines 308-321
Link Here
|
| 308 |
[% END %] |
308 |
[% END %] |
| 309 |
[% ELSE %] |
309 |
[% ELSE %] |
| 310 |
No limitation |
310 |
No limitation |
| 311 |
[% END %] |
311 |
[% END # /IF loo.branches.size > 0 %] |
| 312 |
</td> |
312 |
</td> |
| 313 |
<td class="actions"><a href="/cgi-bin/koha/admin/authorised_values.pl?op=add_form&id=[% loo.id | uri %]" class="btn btn-default btn-xs"><i class="fa fa-pencil"></i> Edit</a> |
313 |
<td class="actions"><a href="/cgi-bin/koha/admin/authorised_values.pl?op=add_form&id=[% loo.id | uri %]" class="btn btn-default btn-xs"><i class="fa fa-pencil"></i> Edit</a> |
| 314 |
<a class="delete btn btn-default btn-xs" href="/cgi-bin/koha/admin/authorised_values.pl?op=delete&searchfield=[% searchfield | uri %]&id=[% loo.id | uri %]"><i class="fa fa-trash"></i> Delete</a></td> |
314 |
<a class="delete btn btn-default btn-xs" href="/cgi-bin/koha/admin/authorised_values.pl?op=delete&searchfield=[% searchfield | uri %]&id=[% loo.id | uri %]"><i class="fa fa-trash"></i> Delete</a></td> |
| 315 |
</tr> |
315 |
</tr> |
| 316 |
[% END # /FOREACH loop %] |
316 |
[% END # /FOREACH loop %] |
| 317 |
</tbody> |
317 |
</tbody> |
| 318 |
</table> |
318 |
</table> <!-- /#categoriest --> |
| 319 |
[% ELSE %] |
319 |
[% ELSE %] |
| 320 |
<div class="dialog message"> |
320 |
<div class="dialog message"> |
| 321 |
<p>There are no authorized values defined for [% category.category_name | html %]</p> |
321 |
<p>There are no authorized values defined for [% category.category_name | html %]</p> |
|
Lines 332-338
Link Here
|
| 332 |
</form> |
332 |
</form> |
| 333 |
[% END %] |
333 |
[% END %] |
| 334 |
</div> |
334 |
</div> |
| 335 |
[% END %] |
335 |
[% END # /IF loop %] |
| 336 |
|
336 |
|
| 337 |
[% ELSE # category was selected %] |
337 |
[% ELSE # category was selected %] |
| 338 |
|
338 |
|
|
Lines 355-363
Link Here
|
| 355 |
<a id="addauth" class="btn btn-default btn-xs" href= "/cgi-bin/koha/admin/authorised_values.pl?op=add_form&category=[% c | uri %]"><i class="fa fa-plus"> </i> Add</a> |
355 |
<a id="addauth" class="btn btn-default btn-xs" href= "/cgi-bin/koha/admin/authorised_values.pl?op=add_form&category=[% c | uri %]"><i class="fa fa-plus"> </i> Add</a> |
| 356 |
</td> |
356 |
</td> |
| 357 |
</tr> |
357 |
</tr> |
| 358 |
[% END %] |
358 |
[% END # /FOR c %] |
| 359 |
</tbody> |
359 |
</tbody> |
| 360 |
</table> |
360 |
</table> <!-- /#categoriest --> |
| 361 |
|
361 |
|
| 362 |
[% END # /IF ( searchfield )%] |
362 |
[% END # /IF ( searchfield )%] |
| 363 |
|
363 |
|
| 364 |
- |
|
|