Bug 26922: Regression tests
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / admin / admin-home.tt
blob2c7fbb7b2fca4f630be8f8cb48f154d12aa24c8f
1 [% USE Koha %]
2 [% SET footerjs = 1 %]
3 [% INCLUDE 'doc-head-open.inc' %]
4 <title>Koha &rsaquo; Administration</title>
5 [% INCLUDE 'doc-head-close.inc' %]
6 </head>
7 <body id="admin_admin-home" class="admin">
8 [% INCLUDE 'header.inc' %]
9 [% INCLUDE 'prefs-admin-search.inc' %]
11 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; Administration</div>
13 <div class="main container-fluid">
14     <div class="row">
15         <div class="col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2">
16             [% IF ( CAN_user_parameters_manage_mana ) %]
17                 [% IF ( Koha.Preference('Mana') == 1) && !mana_url %]
18                     <div class="dialog message">
19                         <h4>The Mana Knowledge Base feature is enabled but not configured.</h4>
20                         <p>This feature allows you to retrieve and share data (subscription patterns and reports) with other Koha libraries.</p>
21                         <p>
22                             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>.
23                         </p>
24                     </div>
25                 [% END %]
26                 [% IF ( Koha.Preference('Mana') == 2 ) %]
27                     <div class="dialog message">
28                         <h4>Share content with Mana KB?</h4>
29                         <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>
30                     </div>
31                 [% END %]
32             [% END %]
33             [% IF ( CAN_user_parameters_manage_usage_stats ) %]
34                 [% IF ( Koha.Preference('UsageStats') == 2 ) %]
35                     <div class="dialog message">
36                         <h4>Share anonymous usage statistics with the Koha community?</h4>
37                         <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>
38                         <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>
39                     </div>
40                 [% END %]
41             [% END %]
42         <h1>Koha administration</h1>
43         <div class="row">
44             <div class="col-md-6 sysprefs">
45             [% IF ( CAN_user_parameters_manage_sysprefs ) %]
46                 <form action="/cgi-bin/koha/admin/preferences.pl" method="post">
47                 <fieldset>
48                     <h4><a href="/cgi-bin/koha/admin/preferences.pl">Global system preferences</a></h4>
49                     <p>Manage global system preferences like MARC flavor, date format, administrator email, and templates.</p>
50                     <input type="hidden" name="op" value="search" />
51                     <input type="text" name="searchfield" value="[% searchfield | html %]" />
52                     <input type="submit" name="ok" class="submit" value="Search" />
53                 </fieldset>
54                 </form>
55             [% END %]
57             [% IF ( CAN_user_parameters_manage_libraries || CAN_user_parameters_manage_itemtypes || CAN_user_parameters_manage_auth_values ) %]
58                 <div class="hint"><h4>Hint:</h4><p>Configure these parameters in the order they appear.</p></div>
59                 <h3>Basic parameters</h3>
60                 <dl>
61                     [% IF ( CAN_user_parameters_manage_libraries ) %]
62                         <dt><a href="/cgi-bin/koha/admin/branches.pl">Libraries</a></dt>
63                         <dd>Define libraries</dd>
64                         <dt><a href="/cgi-bin/koha/admin/library_groups.pl">Library groups</a></dt>
65                         <dd>Define hierarchical library groups</dd>
66                     [% END %]
67                     [% IF ( CAN_user_parameters_manage_itemtypes ) %]
68                         <dt><a href="/cgi-bin/koha/admin/itemtypes.pl">Item types</a></dt>
69                         <dd>Define item types used for circulation rules</dd>
70                     [% END %]
71                     [% IF ( CAN_user_parameters_manage_auth_values ) %]
72                         <dt><a href="/cgi-bin/koha/admin/authorised_values.pl">Authorized values</a></dt>
73                         <dd>Define categories and authorized values for them</dd>
74                     [% END %]
75                 </dl>
76             [% END %]
78             [% 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 ) %]
79                 <h3>Patrons and circulation</h3>
80                 <dl>
81                 [% IF ( CAN_user_parameters_manage_patron_categories ) %]
82                     <dt><a href="/cgi-bin/koha/admin/categories.pl">Patron categories</a></dt>
83                     <dd>Define patron categories</dd>
84                 [% END %]
85                 [% IF CAN_user_parameters_manage_circ_rules %]
86                     <dt><a href="/cgi-bin/koha/admin/smart-rules.pl">Circulation and fines rules</a></dt>
87                     <dd>Define circulation and fines rules for combinations of libraries, patron categories, and item types</dd>
88                 [% END %]
89                 [% IF ( CAN_user_parameters_manage_patron_attributes ) %]
90                     <dt><a href="/cgi-bin/koha/admin/patron-attr-types.pl">Patron attribute types</a></dt>
91                     <dd>Define extended attributes (identifiers and statistical categories) for patron records</dd>
92                 [% END %]
93                 [% IF ( CAN_user_parameters_manage_transfers ) %]
94                     <dt><a href="/cgi-bin/koha/admin/branch_transfer_limits.pl">Library transfer limits</a></dt>
95                     <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>
96                     <dt><a href="/cgi-bin/koha/admin/transport-cost-matrix.pl">Transport cost matrix</a></dt>
97                     <dd>Define transport costs between branches</dd>
98                 [% END %]
99                 [% IF ( CAN_user_parameters_manage_item_circ_alerts ) %]
100                     <dt><a href="/cgi-bin/koha/admin/item_circulation_alerts.pl">Item circulation alerts</a></dt>
101                     <dd>Define rules for check-in and checkout notifications for combinations of libraries, patron categories, and item types</dd>
102                 [% END %]
103                 [% IF ( Koha.Preference('UseCirculationDesks') && CAN_user_parameters_manage_libraries ) %]
104                         <dt><a href="/cgi-bin/koha/admin/desks.pl">Circulation desks</a></dt>
105                         <dd>Define circulation desks</dd>
106                 [% END %]
107                 [% IF ( CAN_user_parameters_manage_cities ) %]
108                     <dt><a href="/cgi-bin/koha/admin/cities.pl">Cities and towns</a></dt>
109                     <dd>Define cities and towns that your patrons live in</dd>
110                 [% END %]
111                 </dl>
112             [% END %]
114             [% IF ( CAN_user_parameters_manage_accounts || ( Koha.Preference('UseCashRegisters') && CAN_user_parameters_manage_cash_registers ) ) %]
115                 <h3>Accounting</h3>
116                 <dl>
117                 [% IF ( CAN_user_parameters_manage_accounts ) %]
118                     <dt><a href="/cgi-bin/koha/admin/debit_types.pl">Debit types</a></dt>
119                     <dd>Define debit types</dd>
120                     <dt><a href="/cgi-bin/koha/admin/credit_types.pl">Credit types</a></dt>
121                     <dd>Define credit types</dd>
122                 [% END %]
123                 [% IF ( Koha.Preference('UseCashRegisters') && CAN_user_parameters_manage_cash_registers ) %]
124                     <dt><a href="/cgi-bin/koha/admin/cash_registers.pl">Cash registers</a></dt>
125                     <dd>Define cash registers</dd>
126                 [% END %]
127                 </dl>
128             [% END %]
130             [% IF CAN_user_plugins && plugins_enabled %]
131                 <h3>Plugins</h3>
132                 <dl>
133                     <dt><a href="/cgi-bin/koha/plugins/plugins-home.pl">Manage plugins</a></dt>
134                     <dd>View, manage, configure and run plugins.</dd>
135                 </dl>
136             [% END %]
137             </div>
139             <div class="col-md-6 sysprefs">
140             [% 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 ) %]
141                 <h3>Catalog</h3>
142                 <dl>
143                     [% IF ( CAN_user_parameters_manage_marc_frameworks ) %]
144                         <dt><a href="/cgi-bin/koha/admin/biblio_framework.pl">MARC bibliographic framework</a></dt>
145                         <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>
146                         <dt><a href="/cgi-bin/koha/admin/koha2marclinks.pl">Koha to MARC mapping</a></dt>
147                         <dd>Define the mapping between the Koha transactional database (SQL) and the MARC Bibliographic records</dd>
148                     [% END %]
149                     [% IF ( CAN_user_parameters_manage_marc_frameworks ) %]
150                         <dt><a href="/cgi-bin/koha/admin/checkmarc.pl">MARC Bibliographic framework test</a></dt>
151                         <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>
152                         <dt><a href="/cgi-bin/koha/admin/authtypes.pl">Authority types</a></dt>
153                         <dd>Create and manage Authorities frameworks that define the characteristics of your MARC Records (field and subfield definitions)</dd>
154                     [% END %]
155                     [% IF ( CAN_user_parameters_manage_classifications ) %]
156                         <dt><a href="/cgi-bin/koha/admin/classsources.pl">Classification sources</a></dt>
157                         <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>
158                     [% END %]
159                     [% IF ( CAN_user_parameters_manage_matching_rules ) %]
160                         <dt><a href="/cgi-bin/koha/admin/matching-rules.pl">Record matching rules</a></dt>
161                         <dd>Manage rules for automatically matching MARC records during record imports</dd>
162                     [% END %]
163                     [% IF ( CAN_user_parameters_manage_oai_sets ) %]
164                         <dt><a href="/cgi-bin/koha/admin/oai_sets.pl">OAI sets configuration</a></dt>
165                         <dd>Manage OAI Sets</dd>
166                     [% END %]
167                     [% IF ( CAN_user_parameters_manage_item_search_fields ) %]
168                         <dt><a href="/cgi-bin/koha/admin/items_search_fields.pl">Item search fields</a></dt>
169                         <dd>Manage custom fields for item search</dd>
170                     [% END %]
171                     [% IF ( CAN_user_parameters_manage_search_engine_config ) %]
172                         <dt><a href="/cgi-bin/koha/admin/searchengine/elasticsearch/mappings.pl">Search engine configuration (Elasticsearch)</a></dt>
173                         <dd>Manage indexes, facets, and their mappings to MARC fields and subfields</dd>
174                     [% END %]
175                 </dl>
176             [% END %]
178             [% IF ( CAN_user_acquisition_currencies_manage || CAN_user_acquisition_period_manage || CAN_user_acquisition_budget_manage || CAN_user_acquisition_edi_manage ) %]
179                 <h3>Acquisition parameters</h3>
180                 <dl>
181                     [% IF ( CAN_user_acquisition_currencies_manage ) %]
182                         <dt><a href="/cgi-bin/koha/admin/currency.pl">Currencies and exchange rates</a></dt>
183                         <dd>Define currencies and exchange rates used for acquisitions</dd>
184                     [% END %]
185                     [% IF ( CAN_user_acquisition_period_manage ) %]
186                         <dt><a href="/cgi-bin/koha/admin/aqbudgetperiods.pl">Budgets</a></dt>
187                         <dd>Define your budgets</dd>
188                     [% END %]
189                     [% IF ( CAN_user_acquisition_budget_manage ) %]
190                         <dt><a href="/cgi-bin/koha/admin/aqbudgets.pl">Funds</a></dt>
191                         <dd>Define funds within your budgets</dd>
192                     [% END %]
193                     [% IF ( CAN_user_acquisition_edi_manage ) %]
194                         <dt><a href="/cgi-bin/koha/admin/edi_accounts.pl">EDI accounts</a></dt>
195                         <dd>Manage vendor EDI accounts for import/export</dd>
196                         <dt><a href="/cgi-bin/koha/admin/edi_ean_accounts.pl">Library EANs</a></dt>
197                         <dd>Manage library EDI EANs</dd>
198                     [% END %]
199                 </dl>
200             [% END %]
202             [% IF ( ( 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) ) %]
203                 <h3>Additional parameters</h3>
204                 <dl>
205                         <!-- <dt><a href="/cgi-bin/koha/admin/printers.pl">Network Printers</a></dt>
206                         <dd>Printers (UNIX paths).</dd> -->
207                     [% IF ( CAN_user_parameters_manage_search_targets ) %]
208                         <dt><a href="/cgi-bin/koha/admin/z3950servers.pl">Z39.50/SRU servers</a></dt>
209                         <dd>Define which external servers to query for MARC data</dd>
210                     [% END %]
211                     [% IF ( CAN_user_parameters_manage_smtp_servers ) %]
212                         <dt><a href="/cgi-bin/koha/admin/smtp_servers.pl">SMTP servers</a></dt>
213                         <dd>Define which SMTP servers to use</dd>
214                     [% END %]
215                     [% IF ( CAN_user_parameters_manage_didyoumean ) %]
216                         <dt><a href="/cgi-bin/koha/admin/didyoumean.pl">Did you mean?</a></dt>
217                         <dd>Choose which plugins to use to suggest searches to patrons and staff</dd>
218                     [% END %]
219                     [% IF ( CAN_user_parameters_manage_column_config ) %]
220                         <dt><a href="/cgi-bin/koha/admin/columns_settings.pl">Table settings</a></dt>
221                         <dd>Configure and hide or show columns for tables</dd>
222                     [% END %]
223                     [% IF ( CAN_user_parameters_manage_audio_alerts ) %]
224                         <dt><a href="/cgi-bin/koha/admin/audio_alerts.pl">Audio alerts</a></dt>
225                         <dd>Define which events trigger which sounds</dd>
226                     [% END %]
227                     [% IF ( CAN_user_parameters_manage_sms_providers && Koha.Preference('SMSSendDriver') == 'Email' ) %]
228                             <dt><a href="/cgi-bin/koha/admin/sms_providers.pl">SMS cellular providers</a></dt>
229                             <dd>Define a list of cellular providers for sending SMS messages via email</dd>
230                     [% END %]
231                     [% IF ( CAN_user_parameters_manage_usage_stats ) %]
232                         <dt><a href="/cgi-bin/koha/admin/usage_statistics.pl">Share your usage statistics</a></dt>
233                         <dd>Share with the Koha community the usage statistics of your Koha installation</dd>
234                     [% END %]
235                     [% IF ( CAN_user_parameters_manage_mana ) %]
236                         <dt><a href="/cgi-bin/koha/admin/share_content.pl">Share content with Mana KB</a></dt>
237                         <dd>Share content (subscriptions, reports) with the Koha community</dd>
238                     [% END %]
239                     [% IF ( CAN_user_parameters_manage_additional_fields ) %]
240                     <dt><a href="/cgi-bin/koha/admin/additional-fields.pl">Additional fields</a></dt>
241                     <dd>Add additional fields to certain tables</dd>
242                     [% END %]
243                     [% IF Koha.Preference('EnableAdvancedCatalogingEditor') && ( CAN_user_parameters_manage_keyboard_shortcuts ) %]
244                         <dt><a href="/cgi-bin/koha/admin/adveditorshortcuts.pl">Keyboard shortcuts</a></dt>
245                         <dd>Define which keys trigger actions in the advanced cataloging editor</dd>
246                     [% END %]
247                 </dl>
248             [% END %]
249             </div>
250         </div>
251     </div>
252 </div>
254 [% MACRO jsinclude BLOCK %]
255     <script>
256         $(document).ready(function(){
257             $("input[class='head-searchbox'][name='searchfield']").focus();
258         });
259     </script>
260 [% END %]
262 [% INCLUDE 'intranet-bottom.inc' %]