Bugzilla – Attachment 110390 Details for
Bug 26484
Add serials-related reports to serials sidebar menu
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 26484: Add serials-related reports to serials sidebar menu
Bug-26484-Add-serials-related-reports-to-serials-s.patch (text/plain), 1.72 KB, created by
Owen Leonard
on 2020-09-18 13:19:48 UTC
(
hide
)
Description:
Bug 26484: Add serials-related reports to serials sidebar menu
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2020-09-18 13:19:48 UTC
Size:
1.72 KB
patch
obsolete
>From 0b32d5b225e2907361bde7319556d2cc6b483cd1 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Fri, 18 Sep 2020 13:14:33 +0000 >Subject: [PATCH] Bug 26484: Add serials-related reports to serials sidebar > menu > >This patch adds a section to the serials sidebar menu for showing >serials reports. > >To test, apply the patch and go to Serials. > >- If you are logged in as a user with permission to access reports you > should see a new "Reports" heading in the sidebar menu and a link to > the serials statistics wizard. >- Confirm that the link works correctly. >- Log in as a user without reports permission and confirm that the > section doesn't appear. >--- > koha-tmpl/intranet-tmpl/prog/en/includes/serials-menu.inc | 9 +++++++++ > 1 file changed, 9 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/serials-menu.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/serials-menu.inc >index 4a7fffd043..afa62b5749 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/serials-menu.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/serials-menu.inc >@@ -1,5 +1,6 @@ > <div id="navmenu"> > <div id="navmenulist"> >+ <h5>Serials</h5> > <ul> > [% IF ( subscriptionid ) %] > <li><a href="serials-collection.pl?subscriptionid=[% subscriptionid | uri %]">Serial collection</a></li> >@@ -34,5 +35,13 @@ > <li><a href="/cgi-bin/koha/serials/serials-search.pl?mana=1">Search on Mana</a></li> > [% END %] > </ul> >+ >+ [% IF ( CAN_user_reports ) %] >+ <h5>Reports</h5> >+ <ul> >+ <li><a href="/cgi-bin/koha/reports/serials_stats.pl">Serials statistics wizard</a></li> >+ </ul> >+ [% END %] >+ > </div> > </div> >-- >2.11.0
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 26484
:
110390
|
110402
|
110426