[% USE raw %] [% USE Asset %] [% SET footerjs = 1 %] [% USE Koha %] [% USE KohaDates %] [% USE Price %] [% INCLUDE 'doc-head-open.inc' %] Koha › Administration › Koha usage statistics [% INCLUDE 'doc-head-close.inc' %] [% Asset.css("lib/leaflet/leaflet.css") | $raw %] [% INCLUDE 'header.inc' %] [% INCLUDE 'cat-search.inc' %]
[% FOR m IN messages %]
[% SWITCH m.code %] [% CASE 'error_on_update' %] An error occurred when updating this patron category. Perhaps it already exists. [% CASE 'error_on_insert' %] An error occurred when inserting this patron category. The patron category might already exist. [% CASE 'error_on_delete' %] An error occurred when deleting this patron category. Check the logs. [% CASE 'success_on_update' %] Patron category updated successfully. [% CASE 'success_on_insert' %] Patron category inserted successfully. [% CASE 'success_on_delete' %] Patron category deleted successfully. [% CASE 'already_exists' %] This patron category already exists. [% CASE %] [% m.code | html %] [% END %]
[% END %] [% IF NOT Koha.Preference('UsageStats') %]
You are not sharing any data with the Koha community
[% END %]

Modify the statistics you share with the Koha community

  1. [% SET UsageStatsCountry = Koha.Preference('UsageStatsCountry') %] [% SET IsUsageStatsCountryValid = 0 %] [% IF NOT UsageStatsCountry %] [% SET IsUsageStatsCountryValid = 1 %] [% END %] [% PROCESS 'country-list.inc' %] [% UNLESS IsUsageStatsCountryValid %] Note: The value of your system preference 'UsageStatsCountry' is not valid ([% UsageStatsCountry | html %]). Please select a valid one. [% END %]
  2. [% SET UsageStatsLibraryType = Koha.Preference('UsageStatsLibraryType') %]
  3. Last update: [% IF UsageStatsLastUpdateTime %] [% UsageStatsLastUpdateTime | html %] [% ELSE %] Your data have never been shared [% END %]
  4. Libraries
      [% FOR l IN libraries %]
    1. Country: [% l.branchcountry | html %]
      Url: [% l.branchurl | html %]
      Geolocation:
    2. [% END %]
  5. [% IF Koha.Preference('UsageStatsPublicID') %] [% SET my_url = 'https://hea.koha-community.org/libraries/' _ Koha.Preference('UsageStatsPublicID') %] [% my_url | html %] [% ELSE %] You do not have anything public yet. [% END %]
Cancel
[% INCLUDE 'admin-menu.inc' %]
[% MACRO jsinclude BLOCK %] [% INCLUDE 'calendar.inc' %] [% Asset.js("js/admin-menu.js") | $raw %] [% END %] [% INCLUDE 'intranet-bottom.inc' %]