From 0e3cb608888cfc92dc1da2152db96c1f69d970f9 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Tue, 23 Aug 2022 10:06:24 +0100 Subject: [PATCH] Bug 31162: Move Rotating Collections and Upload Covers This patch moves the 'Rotating Collections' link from 'Cataloging' to 'Circulation' on the 'Tools' home page and moves the 'Upload local cover image' link to the 'Cataloging' home page. This removes the 'Cataloging' tools section entirely and as such the template is adapted to a two column layout to compensate. Signed-off-by: Katrin Fischer --- .../en/modules/cataloguing/cataloging-home.tt | 11 +- .../prog/en/modules/tools/tools-home.tt | 341 +++++++++--------- 2 files changed, 172 insertions(+), 180 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/cataloging-home.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/cataloging-home.tt index 442f35d1ce..252992295f 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/cataloging-home.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/cataloging-home.tt @@ -129,9 +129,10 @@ [% END %] - [% IF ( CAN_user_tools_label_creator ) %] + [% IF ( CAN_user_tools_label_creator || CAN_user_tools_upload_local_cover_images ) %]

Tools

[% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/tools-home.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/tools-home.tt index fb599a9333..cd164e6a3e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/tools-home.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/tools-home.tt @@ -23,186 +23,169 @@ -
-

Tools

+
-
-[% IF ( CAN_user_tools_manage_patron_lists || CAN_user_clubs || CAN_user_tools_moderate_comments || CAN_user_tools_import_patrons || CAN_user_tools_edit_notices || CAN_user_tools_edit_notice_status_triggers || CAN_user_tools_label_creator || CAN_user_tools_delete_anonymize_patrons || CAN_user_tools_edit_patrons || CAN_user_tools_batch_extend_due_dates || CAN_user_tools_moderate_tags || ( CAN_user_tools_batch_upload_patron_images && Koha.Preference('patronimages') ) ) %] -

Patrons and circulation

-[% END %] -
- [% IF (CAN_user_tools_manage_patron_lists) %] -
Patron lists -
Manage lists of patrons
- [% END %] - - [% IF (CAN_user_clubs) %] -
Patron clubs -
Manage patron clubs
- [% END %] - - [% IF ( CAN_user_tools_moderate_comments ) %] -
Comments [% IF ( pendingcomments ) %][% pendingcomments | html %][% END %]
-
Moderate patron comments
- [% END %] - - [% IF ( CAN_user_tools_import_patrons ) %] -
Import patrons
-
Import patron data
- [% END %] - - [% IF ( CAN_user_tools_edit_notices ) %] -
Notices and slips
-
Define notices (print and email notification messages for overdues, etc.)
- [% END %] - - [% IF ( CAN_user_tools_edit_notice_status_triggers ) %] -
Overdue notice/status triggers
-
Set notice/status triggers for overdue items
- [% END %] - - [% IF ( CAN_user_tools_label_creator ) %] -
Patron card creator
-
Create printable patron cards
- [% END %] - - [% IF ( CAN_user_tools_delete_anonymize_patrons ) %] -
Batch patron deletion and anonymization
-
Batch delete patrons and delete patron circulation history
- [% END %] - - [% IF ( CAN_user_tools_edit_patrons ) %] -
Batch patron modification
-
Modify patrons in batch
- [% END %] - - [% IF ( CAN_user_tools_batch_extend_due_dates ) %] -
Batch extend due dates
-
Modify the due date checkouts in batch
- [% END %] - - [% IF ( CAN_user_tools_moderate_tags ) %] -
Tags [% IF ( pendingtags ) %][% pendingtags | html %][% END %]
-
Moderate patron tags
- [% END %] - - [% IF ( CAN_user_tools_batch_upload_patron_images && Koha.Preference('patronimages') ) %] -
Upload patron images
-
Upload patron images in a batch or one at a time
- [% END %] - -
-
- - -
-[% IF ( CAN_user_tools_edit_calendar || CAN_user_tools_manage_csv_profiles || CAN_user_tools_view_system_logs || CAN_user_tools_edit_additional_contents || CAN_user_tools_schedule_tasks || CAN_user_tools_edit_quotes || ( Koha.ArePluginsEnabled() && CAN_user_plugins_tool ) || CAN_user_tools_upload_general_files || CAN_user_tools_access_files ) %] -

Additional tools

-[% END %] -
- [% IF ( CAN_user_tools_edit_calendar ) %] -
Calendar
-
Define days when the library is closed
- [% END %] - - [% IF ( CAN_user_tools_manage_csv_profiles ) %] -
CSV profiles
-
Manage CSV export profiles
- [% END %] - - [% IF ( CAN_user_tools_view_system_logs ) %] -
Log viewer
-
Browse the system logs
- [% END %] - - [% IF ( CAN_user_tools_edit_additional_contents ) %] -
News
-
Write news for the OPAC and staff interfaces
- -
HTML customizations
-
Write HTML customizations
- -
Pages
-
Write custom pages
- [% END %] - - [% IF ( CAN_user_tools_schedule_tasks ) %] -
Task scheduler
-
Schedule tasks to run
- [% END %] - - [% IF ( CAN_user_tools_edit_quotes ) %] -
Quote editor
-
Manage 'Quote of the day' quotes
- [% END %] - - [% IF ( Koha.ArePluginsEnabled() && CAN_user_plugins_tool && tool_plugins ) %] -
Tool plugins
-
- Use tool plugins - -
- [% END %] - - [% IF ( CAN_user_tools_upload_general_files ) %] -
Upload
-
Upload any type of file, manage uploads
- [% END %] - - [% IF CAN_user_tools_access_files %] -
Access files
-
Access files stored on the server, like log files or reports
- [% END %] - - [% IF ( Koha.Preference('OPACReportProblem') && CAN_user_problem_reports ) %] -
OPAC problem reports
-
Manage OPAC problem reports submitted by patrons
- [% END %] - -
- -[% IF ( Koha.Preference('UseCashRegisters') && ( CAN_user_cash_management_cashup || CAN_user_cash_management_anonymous_refund ) ) %] -

Cash management

-
- -
Cash summary for [% Branches.GetLoggedInBranchname | html %]
-
View cash takings for the current library
- -
Transaction history for [% Registers.session_register_name | html %]
-
View transaction history for the current cash register
- -
-[% END %] - -
- -
-[% IF ( CAN_user_tools_rotating_collections || CAN_user_tools_upload_local_cover_images ) %] -

Catalog

-[% END %] -
- - [% IF ( CAN_user_tools_rotating_collections ) %] -
Rotating collections
-
Manage rotating collections
- [% END %] - - [% IF ( CAN_user_tools_upload_local_cover_images ) %] -
Upload local cover image
-
Utility to upload scanned cover images for display in OPAC
- [% END %] - -
-
- +
+

Tools

+
+ [% IF ( CAN_user_tools_manage_patron_lists || CAN_user_clubs || CAN_user_tools_moderate_comments || CAN_user_tools_import_patrons || CAN_user_tools_edit_notices || CAN_user_tools_edit_notice_status_triggers || CAN_user_tools_label_creator || CAN_user_tools_delete_anonymize_patrons || CAN_user_tools_edit_patrons || CAN_user_tools_batch_extend_due_dates || CAN_user_tools_moderate_tags || CAN_user_tools_rotating_collections || ( CAN_user_tools_batch_upload_patron_images && Koha.Preference('patronimages') ) ) %] +

Patrons and circulation

+ [% END %] +
+ [% IF (CAN_user_tools_manage_patron_lists) %] +
Patron lists +
Manage lists of patrons
+ [% END %] + + [% IF (CAN_user_clubs) %] +
Patron clubs +
Manage patron clubs
+ [% END %] + + [% IF ( CAN_user_tools_moderate_comments ) %] +
Comments [% IF ( pendingcomments ) %][% pendingcomments | html %][% END %]
+
Moderate patron comments
+ [% END %] + + [% IF ( CAN_user_tools_import_patrons ) %] +
Import patrons
+
Import patron data
+ [% END %] + + [% IF ( CAN_user_tools_edit_notices ) %] +
Notices and slips
+
Define notices (print and email notification messages for overdues, etc.)
+ [% END %] + + [% IF ( CAN_user_tools_edit_notice_status_triggers ) %] +
Overdue notice/status triggers
+
Set notice/status triggers for overdue items
+ [% END %] + + [% IF ( CAN_user_tools_label_creator ) %] +
Patron card creator
+
Create printable patron cards
+ [% END %] + + [% IF ( CAN_user_tools_delete_anonymize_patrons ) %] +
Batch patron deletion and anonymization
+
Batch delete patrons and delete patron circulation history
+ [% END %] + + [% IF ( CAN_user_tools_edit_patrons ) %] +
Batch patron modification
+
Modify patrons in batch
+ [% END %] + + [% IF ( CAN_user_tools_batch_extend_due_dates ) %] +
Batch extend due dates
+
Modify the due date checkouts in batch
+ [% END %] + + [% IF ( CAN_user_tools_moderate_tags ) %] +
Tags [% IF ( pendingtags ) %][% pendingtags | html %][% END %]
+
Moderate patron tags
+ [% END %] + + [% IF ( CAN_user_tools_batch_upload_patron_images && Koha.Preference('patronimages') ) %] +
Upload patron images
+
Upload patron images in a batch or one at a time
+ [% END %] + + [% IF ( CAN_user_tools_rotating_collections ) %] +
Rotating collections
+
Manage rotating collections
+ [% END %] +
+
+ +
+ [% IF ( CAN_user_tools_edit_calendar || CAN_user_tools_manage_csv_profiles || CAN_user_tools_view_system_logs || CAN_user_tools_edit_additional_contents || CAN_user_tools_schedule_tasks || CAN_user_tools_edit_quotes || ( Koha.ArePluginsEnabled() && CAN_user_plugins_tool ) || CAN_user_tools_upload_general_files || CAN_user_tools_access_files ) %] +

Additional tools

+ [% END %] + +
+ [% IF ( CAN_user_tools_edit_calendar ) %] +
Calendar
+
Define days when the library is closed
+ [% END %] + + [% IF ( CAN_user_tools_manage_csv_profiles ) %] +
CSV profiles
+
Manage CSV export profiles
+ [% END %] + + [% IF ( CAN_user_tools_view_system_logs ) %] +
Log viewer
+
Browse the system logs
+ [% END %] + + [% IF ( CAN_user_tools_edit_additional_contents ) %] +
News
+
Write news for the OPAC and staff interfaces
+ +
HTML customizations
+
Write HTML customizations
+ +
Pages
+
Write custom pages
+ [% END %] + + [% IF ( CAN_user_tools_schedule_tasks ) %] +
Task scheduler
+
Schedule tasks to run
+ [% END %] + + [% IF ( CAN_user_tools_edit_quotes ) %] +
Quote editor
+
Manage 'Quote of the day' quotes
+ [% END %] + + [% IF ( Koha.ArePluginsEnabled() && CAN_user_plugins_tool && tool_plugins ) %] +
Tool plugins
+
+ Use tool plugins + +
+ [% END %] + + [% IF ( CAN_user_tools_upload_general_files ) %] +
Upload
+
Upload any type of file, manage uploads
+ [% END %] + + [% IF CAN_user_tools_access_files %] +
Access files
+
Access files stored on the server, like log files or reports
+ [% END %] + + [% IF ( Koha.Preference('OPACReportProblem') && CAN_user_problem_reports ) %] +
OPAC problem reports
+
Manage OPAC problem reports submitted by patrons
+ [% END %] +
+ + [% IF ( Koha.Preference('UseCashRegisters') && ( CAN_user_cash_management_cashup || CAN_user_cash_management_anonymous_refund ) ) %] +

Cash management

+
+
Cash summary for [% Branches.GetLoggedInBranchname | html %]
+
View cash takings for the current library
+ +
Transaction history for [% Registers.session_register_name | html %]
+
View transaction history for the current cash register
+
+ [% END %] + +
+
[% INCLUDE 'intranet-bottom.inc' %] -- 2.30.2