Koha/koha-tmpl/intranet-tmpl/prog/en/includes/serials-menu.inc
Owen Leonard 80465d502f 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>
2020-10-01 10:32:15 +02:00

47 lines
1.9 KiB
HTML

<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>
[% UNLESS closed %]
[% IF ( routing && CAN_user_serials_routing ) %]
[% IF ( hasRouting ) %]
<li><a href="/cgi-bin/koha/serials/routing.pl?subscriptionid=[% subscriptionid | uri %]">Edit routing list</a></li>
[% ELSE %]
<li><a href="/cgi-bin/koha/serials/routing.pl?subscriptionid=[% subscriptionid | uri %]&amp;op=new">Create routing list</a></li>
[% END %]
[% END %]
[% END %]
[% END %]
[% IF ( CAN_user_serials_claim_serials ) %]
<li><a href="/cgi-bin/koha/serials/claims.pl">Claims</a></li>
[% END %]
[% IF ( CAN_user_serials_check_expiration ) %]
<li><a href="/cgi-bin/koha/serials/checkexpiration.pl">Check expiration</a></li>
[% END %]
<li>
<a href="/cgi-bin/koha/serials/subscription-frequencies.pl">
Manage frequencies
</a>
</li>
<li>
<a href="/cgi-bin/koha/serials/subscription-numberpatterns.pl">
Manage numbering patterns
</a>
</li>
[% IF Koha.Preference('Mana') == 1 %]
<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>