Bugzilla – Attachment 110402 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.77 KB, created by
David Nind
on 2020-09-18 14:56:04 UTC
(
hide
)
Description:
Bug 26484: Add serials-related reports to serials sidebar menu
Filename:
MIME Type:
Creator:
David Nind
Created:
2020-09-18 14:56:04 UTC
Size:
1.77 KB
patch
obsolete
>From bf25d1a52283819add4dffb3eb11a18630e1c760 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. > >Signed-off-by: David Nind <david@davidnind.com> >--- > 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