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

Modify a city

[% ELSE %]

New city

[% END %]
    [% IF city %]
  1. City ID: [% city.cityid | html %]
  2. [% END %]
  3. Required
  4. Required
Cancel
[% END %] [% IF op == 'delete_confirm' %]

Delete city "[% city.city_name | html %]?"

City id [% city.cityid | html %]
City [% city.city_name | html %]
State [% city.city_state | html %]
ZIP/Postal code [% city.city_zipcode | html %]
Country [% city.city_country | html %]
[% END %] [% IF op == 'list' %]

Cities

[% IF city_name_filter %] Searching: [% city_name_filter | html %] [% END %] [% IF cities_count > 0 %]
City ID City State ZIP/Postal code Country Actions
[% ELSE %]
There are no cities defined. Create a new city.
[% END %] [% END %]
[% MACRO jsinclude BLOCK %] [% Asset.js("js/admin-menu.js") | $raw %] [% INCLUDE 'datatables.inc' %] [% INCLUDE 'columns_settings.inc' %] [% END %] [% INCLUDE 'intranet-bottom.inc' %]