Koha/koha-tmpl/intranet-tmpl/prog/en/modules/admin/admin-home.tt
Caroline Cyr La Rose 8498c9038b
Bug 33550: Rename Patron restrictions administration page to Patron restriction types
This patch renames 'Patron restriction' to 'Patron restriction type' in the context of custom restriction type administration.

To test:
0. Apply patch
1. Enable PatronRestrictionTypes
2. Go to Administration
3. Check the name, spelling/grammar of the following elements
   * Section name
   * Section caption
4. Click 'Patron restriction types'
5. Check the name, spelling/grammar of the following elements
   * Title of the page (in the browser tab)
   * Breadcrumb
   * Left hand side menu
   * 'New' button
   * Page heading
6. Click 'New restriction type'
7. Check the name, spelling/grammar of the following elements
   * Title of the page (in the browser tab)
   * Breadcrumb
   * Page heading
8. Fill out the form and click 'Save' to create a new restriction type
   * Dialog message ('Restriction type added')
9. Click 'New restriction type'
10. Enter the same code as last time
    * Warning ('Restriction type code is already in use')
11. Click 'Cancel'
12. Click 'Edit' next to one of the types
13. Check the name, spelling/grammar of the following elements
    * Title of the page (in the browser tab)
    * Breadcrumb
    * Page heading
14. Without changing anything, click 'Save'
    * Warning ('Restriction type label is already in use')
15. Change the label and click 'Save'
    * Dialog message ('Restriction type updated')
16. Click 'Delete' next to one of the types
17. Check the name, spelling/grammar of the following elements
    * Title of the page (in the browser tab)
    * Breadcrumb
    * Page heading
    * Delete button
18. Click 'Delete this restriction type'
    * Dialog message ('Restriction type deleted')

Signed-off-by: Marius Mandrescu <marius.mandrescu@inLibro.com>
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

https://bugs.koha-community.org/show_bug.cgi?id=33500
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-05-16 15:17:38 -03:00

292 lines
19 KiB
Text

[% USE raw %]
[% USE Koha %]
[% SET footerjs = 1 %]
[% INCLUDE 'doc-head-open.inc' %]
<title>Administration &rsaquo; Koha</title>
[% INCLUDE 'doc-head-close.inc' %]
</head>
<body id="admin_admin-home" class="admin">
[% WRAPPER 'header.inc' %]
[% INCLUDE 'prefs-admin-search.inc' %]
[% END %]
[% WRAPPER 'sub-header.inc' %]
[% WRAPPER breadcrumbs %]
[% WRAPPER breadcrumb_item bc_active= 1 %]
<span>Administration</span>
[% END %]
[% END #/ WRAPPER breadcrumbs %]
[% END #/ WRAPPER sub-header.inc %]
<div class="main container-fluid">
<div class="row">
<div class="col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2">
<h1>Koha administration</h1>
[% IF ( CAN_user_parameters_manage_mana ) %]
[% IF ( Koha.Preference('Mana') == 1) && !mana_url %]
<div class="dialog message">
<h4>The Mana Knowledge Base feature is enabled but not configured.</h4>
<p>This feature allows you to retrieve and share data (subscription patterns and reports) with other Koha libraries.</p>
<p>
Ask your system administrator to configure this feature, or remove this note by <a href=/cgi-bin/koha/admin/share_content.pl>disabling the 'Mana' system preference</a>.
</p>
</div>
[% END %]
[% IF ( Koha.Preference('Mana') == 2 ) %]
<div class="dialog message">
<h4>Share content with Mana KB?</h4>
<p> You haven't decided if you want to activate Mana Knowledge Base. <a href=/cgi-bin/koha/admin/share_content.pl>Change your Mana KB settings</a>.</p>
</div>
[% END %]
[% END %]
[% IF ( CAN_user_parameters_manage_usage_stats ) %]
[% IF ( Koha.Preference('UsageStats') == 2 ) %]
<div class="dialog message">
<h4>Share anonymous usage statistics with the Koha community?</h4>
<p> You haven't decided if you want to activate usage statistic sharing in Koha yet. <a href=/cgi-bin/koha/admin/usage_statistics.pl>Change your Hea settings</a>.</p>
<p> This feature gives the Koha developers valuable information regarding how Koha is being used and helps to drive decisions during the development cycle</p>
</div>
[% END %]
[% END %]
<div class="row">
<div class="col-md-6 sysprefs">
[% IF ( CAN_user_parameters_manage_sysprefs ) %]
<form action="/cgi-bin/koha/admin/preferences.pl" method="post">
<fieldset>
<h4><a href="/cgi-bin/koha/admin/preferences.pl">System preferences</a></h4>
<p>Manage system preferences like MARC flavor, date format, administrator email, and templates.</p>
<input type="hidden" name="op" value="search" />
<input type="text" name="searchfield" value="[% searchfield | html %]" />
<input type="submit" name="ok" class="btn btn-primary" value="Search" />
</fieldset>
</form>
[% END %]
[% IF ( CAN_user_parameters_manage_libraries || CAN_user_parameters_manage_itemtypes || CAN_user_parameters_manage_auth_values ) %]
<div class="hint"><h4>Hint:</h4><p>Configure these parameters in the order they appear.</p></div>
<h3>Basic parameters</h3>
<dl>
[% IF ( CAN_user_parameters_manage_libraries ) %]
<dt><a href="/cgi-bin/koha/admin/branches.pl">Libraries</a></dt>
<dd>Define libraries</dd>
<dt><a href="/cgi-bin/koha/admin/library_groups.pl">Library groups</a></dt>
<dd>Define hierarchical library groups</dd>
[% END %]
[% IF ( CAN_user_parameters_manage_itemtypes ) %]
<dt><a href="/cgi-bin/koha/admin/itemtypes.pl">Item types</a></dt>
<dd>Define item types used for circulation rules</dd>
[% END %]
[% IF ( CAN_user_parameters_manage_auth_values ) %]
<dt><a href="/cgi-bin/koha/admin/authorised_values.pl">Authorized values</a></dt>
<dd>Define categories and authorized values for them</dd>
[% END %]
</dl>
[% END %]
[% IF ( CAN_user_parameters_manage_patron_categories || CAN_user_parameters_manage_circ_rules || CAN_user_parameters_manage_patron_attributes || CAN_user_parameters_manage_transfers || CAN_user_parameters_manage_item_circ_alerts || CAN_user_parameters_manage_cities || CAN_user_parameters_manage_curbside_pickups ) %]
<h3>Patrons and circulation</h3>
<dl>
[% IF ( CAN_user_parameters_manage_patron_categories ) %]
<dt><a href="/cgi-bin/koha/admin/categories.pl">Patron categories</a></dt>
<dd>Define patron categories</dd>
[% END %]
[% IF CAN_user_parameters_manage_circ_rules %]
<dt><a href="/cgi-bin/koha/admin/smart-rules.pl">Circulation and fines rules</a></dt>
<dd>Define circulation and fines rules for combinations of libraries, patron categories, and item types</dd>
[% END %]
[% IF ( CAN_user_parameters_manage_patron_attributes ) %]
<dt><a href="/cgi-bin/koha/admin/patron-attr-types.pl">Patron attribute types</a></dt>
<dd>Define extended attributes (identifiers and statistical categories) for patron records</dd>
[% END %]
[% IF ( CAN_user_parameters_manage_transfers ) %]
<dt><a href="/cgi-bin/koha/admin/branch_transfer_limits.pl">Library transfer limits</a> (<a href="/cgi-bin/koha/admin/transfer_limits.pl">Advanced editor</a>)</dt>
<dd>Limit the ability to transfer items between libraries based on the library sending, the library receiving, and the item type involved. These rules only go into effect if the preference UseBranchTransferLimits is set to ON</dd>
<dt><a href="/cgi-bin/koha/admin/transport-cost-matrix.pl">Transport cost matrix</a></dt>
<dd>Define transport costs between branches</dd>
[% END %]
[% IF ( CAN_user_parameters_manage_item_circ_alerts ) %]
<dt><a href="/cgi-bin/koha/admin/item_circulation_alerts.pl">Item circulation alerts</a></dt>
<dd>Define rules for check-in and checkout notifications for combinations of libraries, patron categories, and item types</dd>
[% END %]
[% IF ( Koha.Preference('UseCirculationDesks') && CAN_user_parameters_manage_libraries ) %]
<dt><a href="/cgi-bin/koha/admin/desks.pl">Circulation desks</a></dt>
<dd>Define circulation desks</dd>
[% END %]
[% IF ( CAN_user_parameters_manage_cities ) %]
<dt><a href="/cgi-bin/koha/admin/cities.pl">Cities and towns</a></dt>
<dd>Define cities and towns that your patrons live in</dd>
[% END %]
[% IF ( CAN_user_parameters_manage_curbside_pickups ) %]
<dt><a href="/cgi-bin/koha/admin/curbside_pickup.pl">Curbside pickup</a></dt>
<dd>Configure curbside pickup for libraries</dd>
[% END %]
[% IF ( CAN_user_parameters_manage_patron_restrictions ) %]
<dt><a href="/cgi-bin/koha/admin/restrictions.pl">Patron restriction types</a></dt>
<dd>Define manual patron restriction types.</dd>
[% END %]
</dl>
[% END %]
[% IF ( CAN_user_parameters_manage_accounts || ( Koha.Preference('UseCashRegisters') && CAN_user_parameters_manage_cash_registers ) ) %]
<h3>Accounting</h3>
<dl>
[% IF ( CAN_user_parameters_manage_accounts ) %]
<dt><a href="/cgi-bin/koha/admin/debit_types.pl">Debit types</a></dt>
<dd>Define debit types</dd>
<dt><a href="/cgi-bin/koha/admin/credit_types.pl">Credit types</a></dt>
<dd>Define credit types</dd>
[% END %]
[% IF ( Koha.Preference('UseCashRegisters') && CAN_user_parameters_manage_cash_registers ) %]
<dt><a href="/cgi-bin/koha/admin/cash_registers.pl">Cash registers</a></dt>
<dd>Define cash registers</dd>
[% END %]
</dl>
[% END %]
[% IF CAN_user_plugins && plugins_enabled %]
<h3>Plugins</h3>
<dl>
<dt><a href="/cgi-bin/koha/plugins/plugins-home.pl">Manage plugins</a></dt>
<dd>View, manage, configure and run plugins.</dd>
</dl>
[% END %]
[% IF CAN_user_parameters_manage_background_jobs %]
<h3>Jobs</h3>
<dl>
<dt><a href="/cgi-bin/koha/admin/background_jobs.pl">Manage jobs</a></dt>
<dd>View, manage and cancel jobs.</dd>
</dl>
[% END %]
</div>
<div class="col-md-6 sysprefs">
[% IF ( CAN_user_parameters_manage_marc_frameworks || CAN_user_parameters_manage_classifications || CAN_user_parameters_manage_matching_rules || CAN_user_parameters_manage_oai_sets || CAN_user_parameters_manage_item_search_fields || CAN_user_parameters_manage_search_engine_config || CAN_user_parameters_manage_marc_overlay_rules || ( Koha.Preference('SavedSearchFilters') && ( CAN_user_parameters_manage_search_filters ) ) ) %]
<h3>Catalog</h3>
<dl>
[% IF ( CAN_user_parameters_manage_marc_frameworks ) %]
<dt><a href="/cgi-bin/koha/admin/biblio_framework.pl">MARC bibliographic framework</a></dt>
<dd>Create and manage Bibliographic frameworks that define the characteristics of your MARC Records (field and subfield definitions) as well as templates for the MARC editor</dd>
<dt><a href="/cgi-bin/koha/admin/koha2marclinks.pl">Koha to MARC mapping</a></dt>
<dd>Define the mapping between the Koha transactional database (SQL) and the MARC Bibliographic records</dd>
[% END %]
[% IF ( CAN_user_parameters_manage_marc_frameworks ) %]
<dt><a href="/cgi-bin/koha/admin/checkmarc.pl">MARC Bibliographic framework test</a></dt>
<dd>Checks the MARC structure. If you change your MARC Bibliographic framework it's recommended that you run this tool to test for errors in your definition</dd>
<dt><a href="/cgi-bin/koha/admin/authtypes.pl">Authority types</a></dt>
<dd>Create and manage Authorities frameworks that define the characteristics of your MARC Records (field and subfield definitions)</dd>
[% END %]
[% IF ( CAN_user_parameters_manage_classifications ) %]
<dt><a href="/cgi-bin/koha/admin/classsources.pl">Classification configuration</a></dt>
<dd>Define classification sources (i.e. call number schemes) used by your collection. Also define filing rules used for sorting call numbers and splitting rules for splitting them</dd>
[% END %]
[% IF ( CAN_user_parameters_manage_matching_rules ) %]
<dt><a href="/cgi-bin/koha/admin/matching-rules.pl">Record matching rules</a></dt>
<dd>Manage rules for automatically matching MARC records during record imports</dd>
[% END %]
[% IF ( CAN_user_parameters_manage_marc_overlay_rules ) %]
<dt><a href="/cgi-bin/koha/admin/marc-overlay-rules.pl">Record overlay rules</a></dt>
<dd>Managed rules for automatic overlay of MARC fields during record imports and updates</dd>
[% END %]
[% IF ( CAN_user_parameters_manage_oai_sets ) %]
<dt><a href="/cgi-bin/koha/admin/oai_sets.pl">OAI sets configuration</a></dt>
<dd>Manage OAI Sets</dd>
[% END %]
[% IF ( CAN_user_parameters_manage_item_search_fields ) %]
<dt><a href="/cgi-bin/koha/admin/items_search_fields.pl">Item search fields</a></dt>
<dd>Manage custom fields for item search</dd>
[% END %]
[% IF Koha.Preference('SavedSearchFilters') && ( CAN_user_parameters_manage_search_filters ) %]
<dt><a href="/cgi-bin/koha/admin/search_filters.pl">Search filters</a></dt>
<dd>Manage custom search filters</dd>
[% END %]
[% IF ( CAN_user_parameters_manage_search_engine_config ) %]
<dt><a href="/cgi-bin/koha/admin/searchengine/elasticsearch/mappings.pl">Search engine configuration (Elasticsearch)</a></dt>
<dd>Manage indexes, facets, and their mappings to MARC fields and subfields</dd>
[% END %]
</dl>
[% END %]
[% IF ( CAN_user_acquisition_currencies_manage || CAN_user_acquisition_period_manage || CAN_user_acquisition_budget_manage || ( Koha.Preference('EDIFACT') && CAN_user_acquisition_edi_manage ) ) %]
<h3>Acquisition parameters</h3>
<dl>
[% IF ( CAN_user_acquisition_currencies_manage ) %]
<dt><a href="/cgi-bin/koha/admin/currency.pl">Currencies and exchange rates</a></dt>
<dd>Define currencies and exchange rates used for acquisitions</dd>
[% END %]
[% IF ( CAN_user_acquisition_period_manage ) %]
<dt><a href="/cgi-bin/koha/admin/aqbudgetperiods.pl">Budgets</a></dt>
<dd>Define your budgets</dd>
[% END %]
[% IF ( CAN_user_acquisition_budget_manage ) %]
<dt><a href="/cgi-bin/koha/admin/aqbudgets.pl">Funds</a></dt>
<dd>Define funds within your budgets</dd>
[% END %]
[% IF ( Koha.Preference('EDIFACT') && CAN_user_acquisition_edi_manage ) %]
<dt><a href="/cgi-bin/koha/admin/edi_accounts.pl">EDI accounts</a></dt>
<dd>Manage vendor EDI accounts for import/export</dd>
<dt><a href="/cgi-bin/koha/admin/edi_ean_accounts.pl">Library EANs</a></dt>
<dd>Manage library EDI EANs</dd>
[% END %]
</dl>
[% END %]
[% IF ( ( CAN_user_parameters_manage_identity_providers || CAN_user_parameters_manage_smtp_servers || CAN_user_parameters_manage_search_targets || CAN_user_parameters_manage_didyoumean || CAN_user_parameters_manage_column_config || CAN_user_parameters_manage_audio_alerts || CAN_user_parameters_manage_sms_providers && Koha.Preference('SMSSendDriver') == 'Email' ) || CAN_user_parameters_manage_usage_stats || CAN_user_parameters_manage_additional_fields || CAN_user_parameters_manage_mana || (Koha.Preference('EnableAdvancedCatalogingEditor') && CAN_user_parameters_manage_keyboard_shortcuts) ) %]
<h3>Additional parameters</h3>
<dl>
<!-- <dt><a href="/cgi-bin/koha/admin/printers.pl">Network Printers</a></dt>
<dd>Printers (UNIX paths).</dd> -->
[% IF ( CAN_user_parameters_manage_identity_providers) %]
<dt><a href="/cgi-bin/koha/admin/identity_providers.pl">Identity providers</a></dt>
<dd>Define which external identity providers to use</dd>
[% END %]
[% IF ( CAN_user_parameters_manage_search_targets ) %]
<dt><a href="/cgi-bin/koha/admin/z3950servers.pl">Z39.50/SRU servers</a></dt>
<dd>Define which external servers to query for MARC data</dd>
[% END %]
[% IF ( CAN_user_parameters_manage_smtp_servers ) %]
<dt><a href="/cgi-bin/koha/admin/smtp_servers.pl">SMTP servers</a></dt>
<dd>Define which SMTP servers to use</dd>
[% END %]
[% IF ( CAN_user_parameters_manage_didyoumean ) %]
<dt><a href="/cgi-bin/koha/admin/didyoumean.pl">Did you mean?</a></dt>
<dd>Choose which plugins to use to suggest searches to patrons and staff</dd>
[% END %]
[% IF ( CAN_user_parameters_manage_column_config ) %]
<dt><a href="/cgi-bin/koha/admin/columns_settings.pl">Table settings</a></dt>
<dd>Configure and hide or show columns for tables</dd>
[% END %]
[% IF ( CAN_user_parameters_manage_audio_alerts ) %]
<dt><a href="/cgi-bin/koha/admin/audio_alerts.pl">Audio alerts</a></dt>
<dd>Define which events trigger which sounds</dd>
[% END %]
[% IF ( CAN_user_parameters_manage_sms_providers && Koha.Preference('SMSSendDriver') == 'Email' ) %]
<dt><a href="/cgi-bin/koha/admin/sms_providers.pl">SMS cellular providers</a></dt>
<dd>Define a list of cellular providers for sending SMS messages via email</dd>
[% END %]
[% IF ( CAN_user_parameters_manage_usage_stats ) %]
<dt><a href="/cgi-bin/koha/admin/usage_statistics.pl">Share your usage statistics</a></dt>
<dd>Share with the Koha community the usage statistics of your Koha installation</dd>
[% END %]
[% IF ( CAN_user_parameters_manage_mana ) %]
<dt><a href="/cgi-bin/koha/admin/share_content.pl">Share content with Mana KB</a></dt>
<dd>Share content (subscriptions, reports) with the Koha community</dd>
[% END %]
[% IF ( CAN_user_parameters_manage_additional_fields ) %]
<dt><a href="/cgi-bin/koha/admin/additional-fields.pl">Additional fields</a></dt>
<dd>Add additional fields to certain tables</dd>
[% END %]
[% IF Koha.Preference('EnableAdvancedCatalogingEditor') && ( CAN_user_parameters_manage_keyboard_shortcuts ) %]
<dt><a href="/cgi-bin/koha/admin/adveditorshortcuts.pl">Keyboard shortcuts</a></dt>
<dd>Define which keys trigger actions in the advanced cataloging editor</dd>
[% END %]
</dl>
[% END %]
</div>
</div>
</div>
</div>
[% INCLUDE 'intranet-bottom.inc' %]