Bugzilla – Attachment 140995 Details for
Bug 31402
Update tools sidebar to match tools start page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 31402: Update tools sidebar to match tools start page
Bug-31402-Update-tools-sidebar-to-match-tools-star.patch (text/plain), 5.07 KB, created by
Owen Leonard
on 2022-09-26 16:06:36 UTC
(
hide
)
Description:
Bug 31402: Update tools sidebar to match tools start page
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2022-09-26 16:06:36 UTC
Size:
5.07 KB
patch
obsolete
>From 942b46aee1a3ccd9eb1fd03f6b1741629698af08 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Mon, 26 Sep 2022 15:26:51 +0000 >Subject: [PATCH] Bug 31402: Update tools sidebar to match tools start page > >This patch updates the tools sidebar so that it better matches the tools >home page: > >- Sidebar menu should say Tags instead of Tag moderation >- Barcode image generator and Quick spine label creator links > reversed. >- Upload any file -> Uploads >- Cash management section is added to sidebar using brief text > >This patch does not make changes to the way plugins are displayed in the >sidebar. In order for the sidebar to correctly display according to the >presence of tool plugins I think some kind of global variable would need >to be set. >--- > .../prog/en/includes/tools-menu.inc | 16 ++++++++++++---- > .../prog/en/modules/tools/tools-home.tt | 2 +- > 2 files changed, 13 insertions(+), 5 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/tools-menu.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/tools-menu.inc >index 849b17120c..93328b2d06 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/tools-menu.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/tools-menu.inc >@@ -39,7 +39,7 @@ > <li><a href="/cgi-bin/koha/tools/batch_extend_due_dates.pl">Batch extend due dates</a></li> > [% END %] > [% IF ( CAN_user_tools_moderate_tags ) %] >- <li><a href="/cgi-bin/koha/tags/review.pl">Tag moderation</a></li> >+ <li><a href="/cgi-bin/koha/tags/review.pl">Tags</a></li> > [% END %] > [% IF ( CAN_user_tools_batch_upload_patron_images && Koha.Preference('patronimages') ) %] > <li><a href="/cgi-bin/koha/tools/picture-upload.pl">Upload patron images</a></li> >@@ -73,8 +73,8 @@ > [% END %] > [% IF ( CAN_user_tools_label_creator ) %] > <li><a href="/cgi-bin/koha/labels/label-home.pl">Label creator</a></li> >- <li><a href="/cgi-bin/koha/labels/spinelabel-home.pl">Quick spine label creator</a></li> > <li><a href="/cgi-bin/koha/labels/barcode-print.pl">Barcode image generator</a></li> >+ <li><a href="/cgi-bin/koha/labels/spinelabel-home.pl">Quick spine label creator</a></li> > [% END %] > [% IF ( CAN_user_tools_rotating_collections ) %] > <li><a href="/cgi-bin/koha/rotating_collections/rotatingCollections.pl">Rotating collections</a></li> >@@ -83,7 +83,7 @@ > <li><a href="/cgi-bin/koha/tools/stockrotation.pl">Stock rotation</a></li> > [% END %] > [% IF ( CAN_user_tools_marc_modification_templates ) %] >- <li><a href="/cgi-bin/koha/tools/marc_modification_templates.pl">Manage MARC modification templates</a></li> >+ <li><a href="/cgi-bin/koha/tools/marc_modification_templates.pl">MARC modification templates</a></li> > [% END %] > [% IF ( CAN_user_tools_stage_marc_import ) %] > <li><a href="/cgi-bin/koha/tools/stage-marc-import.pl">Stage MARC for import</a></li> >@@ -124,7 +124,7 @@ > <li><a href="/cgi-bin/koha/plugins/plugins-home.pl?method=tool">Tool plugins</a></li> > [% END %] > [% IF ( CAN_user_tools_upload_general_files ) %] >- <li><a href="/cgi-bin/koha/tools/upload.pl">Upload any file</a></li> >+ <li><a href="/cgi-bin/koha/tools/upload.pl">Uploads</a></li> > [% END %] > [% IF ( CAN_user_tools_access_files ) %] > <li><a href="/cgi-bin/koha/tools/access_files.pl">Access files</a></li> >@@ -134,5 +134,13 @@ > [% END %] > </ul> > [% END # /IF ( CAN_user_tools_edit_calendar... %] >+ >+ [% IF ( Koha.Preference('UseCashRegisters') && ( CAN_user_cash_management_cashup || CAN_user_cash_management_anonymous_refund ) ) %] >+ <h5>Cash management</h5> >+ <ul> >+ <li><a href="/cgi-bin/koha/pos/registers.pl">Cash summary</a></li> >+ <li><a href="/cgi-bin/koha/pos/register.pl">Transaction history</a></li> >+ </ul> >+ [% END # /IF ( Koha.Preference('UseCashRegisters')... %] > </div> <!-- /#navmenulist --> > </div> <!-- /#navmenu --> >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 5aee6ec6f3..d82267cc2f 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 >@@ -161,7 +161,7 @@ > [% END # /IF ( plugins_enabled... %] > > [% IF ( CAN_user_tools_upload_general_files ) %] >- <dt><a href="/cgi-bin/koha/tools/upload.pl">Upload</a></dt> >+ <dt><a href="/cgi-bin/koha/tools/upload.pl">Uploads</a></dt> > <dd>Upload any type of file, manage uploads</dd> > [% END %] > >-- >2.20.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 31402
:
140995
|
141187