|
Lines 76-84
Link Here
|
| 76 |
Authorized values |
76 |
Authorized values |
| 77 |
</a> |
77 |
</a> |
| 78 |
</li> |
78 |
</li> |
| 79 |
[% END %] |
79 |
[% END # /IF op == 'add_form' %] |
| 80 |
</ol> |
80 |
</ol> |
| 81 |
</nav> |
81 |
</nav> <!-- /#breadcrumbs --> |
| 82 |
|
82 |
|
| 83 |
<div class="main container-fluid"> |
83 |
<div class="main container-fluid"> |
| 84 |
<div class="row"> |
84 |
<div class="row"> |
|
Lines 144-150
Link Here
|
| 144 |
</select> |
144 |
</select> |
| 145 |
<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 |
<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> |
| 146 |
</li> |
146 |
</li> |
| 147 |
|
|
|
| 148 |
</ol> |
147 |
</ol> |
| 149 |
|
148 |
|
| 150 |
<div id="icons" class="toptabs" style="clear:both"> |
149 |
<div id="icons" class="toptabs" style="clear:both"> |
|
Lines 184-204
Link Here
|
| 184 |
[% END %] |
183 |
[% END %] |
| 185 |
</label> |
184 |
</label> |
| 186 |
</li> |
185 |
</li> |
| 187 |
[% END %] |
186 |
[% END # /FOREACH image %] |
| 188 |
</ul> |
187 |
</ul> |
| 189 |
<br class="clear" /> |
188 |
<br class="clear" /> |
| 190 |
</div> |
189 |
</div> |
| 191 |
[% END %] |
190 |
[% END # /FOREACH imageset %] |
| 192 |
</div> |
191 |
</div> <!-- /#icons --> |
| 193 |
[% END %] |
192 |
[% END # /IF action_add_category %] |
| 194 |
</fieldset> |
193 |
</fieldset> |
|
|
194 |
|
| 195 |
<fieldset class="action"> |
195 |
<fieldset class="action"> |
| 196 |
<input type="hidden" name="id" value="[% id | html %]" /> |
196 |
<input type="hidden" name="id" value="[% id | html %]" /> |
| 197 |
<input type="submit" value="Save" /> |
197 |
<input type="submit" value="Save" /> |
| 198 |
<a class="cancel" href="/cgi-bin/koha/admin/authorised_values.pl?searchfield=[% category_name | url %]">Cancel</a> |
198 |
<a class="cancel" href="/cgi-bin/koha/admin/authorised_values.pl?searchfield=[% category_name | url %]">Cancel</a> |
| 199 |
</fieldset> |
199 |
</fieldset> |
| 200 |
</form> |
200 |
</form> |
| 201 |
[% END %] |
201 |
[% END # /IF op == 'add_form' %] |
| 202 |
|
202 |
|
| 203 |
[% IF op == 'list' %] |
203 |
[% IF op == 'list' %] |
| 204 |
<div id="toolbar" class="btn-toolbar"> |
204 |
<div id="toolbar" class="btn-toolbar"> |
|
Lines 252-258
Link Here
|
| 252 |
[% m.code | html %] |
252 |
[% m.code | html %] |
| 253 |
[% END %] |
253 |
[% END %] |
| 254 |
</div> |
254 |
</div> |
| 255 |
[% END %] |
255 |
[% END # /FOR m IN messages %] |
| 256 |
|
256 |
|
| 257 |
[% IF ( searchfield ) %] |
257 |
[% IF ( searchfield ) %] |
| 258 |
|
258 |
|
|
Lines 269-275
Link Here
|
| 269 |
[% END %] |
269 |
[% END %] |
| 270 |
</select> |
270 |
</select> |
| 271 |
</p> |
271 |
</p> |
| 272 |
</form> |
272 |
</form> <!-- /#category --> |
| 273 |
|
273 |
|
| 274 |
[% IF loop %] |
274 |
[% IF loop %] |
| 275 |
<table id="categoriest" class="authorized_values_table"> |
275 |
<table id="categoriest" class="authorized_values_table"> |
|
Lines 309-322
Link Here
|
| 309 |
[% END %] |
309 |
[% END %] |
| 310 |
[% ELSE %] |
310 |
[% ELSE %] |
| 311 |
No limitation |
311 |
No limitation |
| 312 |
[% END %] |
312 |
[% END # /IF loo.branches.size > 0 %] |
| 313 |
</td> |
313 |
</td> |
| 314 |
<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 |
<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> |
| 315 |
<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 |
<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> |
| 316 |
</tr> |
316 |
</tr> |
| 317 |
[% END # /FOREACH loop %] |
317 |
[% END # /FOREACH loop %] |
| 318 |
</tbody> |
318 |
</tbody> |
| 319 |
</table> |
319 |
</table> <!-- /#categoriest --> |
| 320 |
[% ELSE %] |
320 |
[% ELSE %] |
| 321 |
<div class="dialog message"> |
321 |
<div class="dialog message"> |
| 322 |
<p>There are no authorized values defined for [% category.category_name | html %]</p> |
322 |
<p>There are no authorized values defined for [% category.category_name | html %]</p> |
|
Lines 333-339
Link Here
|
| 333 |
</form> |
333 |
</form> |
| 334 |
[% END %] |
334 |
[% END %] |
| 335 |
</div> |
335 |
</div> |
| 336 |
[% END %] |
336 |
[% END # /IF loop %] |
| 337 |
|
337 |
|
| 338 |
[% ELSE # category was selected %] |
338 |
[% ELSE # category was selected %] |
| 339 |
|
339 |
|
|
Lines 356-364
Link Here
|
| 356 |
<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 |
<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> |
| 357 |
</td> |
357 |
</td> |
| 358 |
</tr> |
358 |
</tr> |
| 359 |
[% END %] |
359 |
[% END # /FOR c %] |
| 360 |
</tbody> |
360 |
</tbody> |
| 361 |
</table> |
361 |
</table> <!-- /#categoriest --> |
| 362 |
|
362 |
|
| 363 |
[% END # /IF ( searchfield )%] |
363 |
[% END # /IF ( searchfield )%] |
| 364 |
|
364 |
|
| 365 |
- |
|
|