[% USE raw %]
[% USE Branches %]
[% USE Asset %]
[% SET footerjs = 1 %]
[% INCLUDE 'doc-head-open.inc' %]
[% IF op =='add_form' %]
[% IF desk.desk_id %]
Modify desk
[% ELSE %]
New desk
[% END %] › [% ELSE %]
[% IF op == 'delete_confirm' %]
Confirm deletion of desk › [% END %]
[% END %]
Desks › Administration › Koha
[% INCLUDE 'doc-head-close.inc' %]
[% INCLUDE 'header.inc' %]
[% INCLUDE 'desks-admin-search.inc' %]
[% FOR m IN messages %]
[% SWITCH m.code %]
[% CASE 'error_on_update' %]
An error occurred when updating this desk. Perhaps it already exists
[% CASE 'error_on_insert' %]
An error occurred when adding this desk. The desk ID might already exist
[% CASE 'error_on_delete' %]
An error occurred when deleting this desk. Check the logs
[% CASE 'success_on_update' %]
Desk updated successfully
[% CASE 'success_on_insert' %]
Desk added successfully
[% CASE 'success_on_delete' %]
Desk deleted successfully
[% CASE 'already_exists' %]
This desk already exists
[% CASE %]
[% m.code | html %]
[% END %]
[% END %]
[% IF op == 'add_form' %]
[% IF desk %]
Modify a desk
[% ELSE %]
New desk
[% END %]
[% END %]
[% IF op == 'delete_confirm' %]