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> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
bf5b8c2be7
commit
80465d502f
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue