Bug 31028: Only show pending concerns if there are some
This patch adds logic to catch when pending_biblio_tickets equals zero. Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Helen Oliver <HOliver@tavi-port.ac.uk> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
3a9590598a
commit
5216c01ba7
1 changed files with 1 additions and 1 deletions
|
@ -227,7 +227,7 @@
|
|||
</div>
|
||||
[% END %]
|
||||
|
||||
[% IF ( ( Koha.Preference('OpacCatalogConcerns') || Koha.Preference('CatalogConcerns') ) && CAN_user_editcatalogue_edit_catalogue ) %]
|
||||
[% IF ( ( Koha.Preference('OpacCatalogConcerns') || Koha.Preference('CatalogConcerns') ) && pending_biblio_tickets && CAN_user_editcatalogue_edit_catalogue ) %]
|
||||
<div class="pending-info" id="catalog_concerns_pending">
|
||||
<a href="/cgi-bin/koha/cataloguing/concerns.pl">Catalog concerns pending</a>:
|
||||
<span class="pending-number-link">[% pending_biblio_tickets | html %]</span>
|
||||
|
|
Loading…
Reference in a new issue