View | Details | Raw Unified | Return to bug 17355
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tt (-4 / +5 lines)
Lines 29-34 Link Here
29
    $("a.delete").click(function(){
29
    $("a.delete").click(function(){
30
        return confirm(_("Are you sure you want to delete this authorized value?"));
30
        return confirm(_("Are you sure you want to delete this authorized value?"));
31
    });
31
    });
32
    $("a.delete_category").click(function(){
33
        return confirm(_("Are you sure you want to delete this authorized value category?"));
34
    });
32
});
35
});
33
//]]>
36
//]]>
34
</script>
37
</script>
Lines 216-221 $(document).ready(function() { Link Here
216
      <option value="[% c %]">[% c %]</option>
219
      <option value="[% c %]">[% c %]</option>
217
    [% END %]
220
    [% END %]
218
  [% END %]
221
  [% END %]
222
  </select>
219
  <input type="submit" value="Submit" />
223
  <input type="submit" value="Submit" />
220
</form>
224
</form>
221
[% IF ( category == 'Bsort1' ) %]
225
[% IF ( category == 'Bsort1' ) %]
Lines 302-312 $(document).ready(function() { Link Here
302
</tbody></table>[% ELSE %]
306
</tbody></table>[% ELSE %]
303
<div class="dialog message">There are no authorized values defined for [% category %]
307
<div class="dialog message">There are no authorized values defined for [% category %]
304
[% IF deletable %]
308
[% IF deletable %]
305
    <a class="delete btn btn-default btn-xs" href="/cgi-bin/koha/admin/authorised_values.pl?op=del_category&amp;category=[% searchfield %]"><i class="fa fa-trash"></i> Delete category</a>
309
    <a class="delete_category btn btn-default btn-xs" href="/cgi-bin/koha/admin/authorised_values.pl?op=del_category&amp;category=[% searchfield %]"><i class="fa fa-trash"></i> Delete category</a>
306
[% END %]</div>
310
[% END %]</div>
307
</td>
308
311
309
</div>
310
[% END %]
312
[% END %]
311
313
312
[% IF ( isprevpage ) %]
314
[% IF ( isprevpage ) %]
313
- 

Return to bug 17355