Bug 33933: Only show use restriction once on OPAC detail page
This patch removes a regression from bug 32611 that caused the use restriction text to be shown twice for "Available" items. Test plan: 0. Apply patch 1. Go to http://localhost:8081/cgi-bin/koha/cataloguing/additem.pl?biblionumber=29 2. Edit item and add "Restricted access" for "5 - Use restrictions" 3. Go to http://localhost:8080/cgi-bin/koha/opac-detail.pl?biblionumber=29 4. Note that "Status" says "Available (Restricted access)" and there is no duplicate "Restricted access" at the top of that table cell Signed-off-by: ebal <eric.balluto@univ-lyon2.fr> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
213392fd6b
commit
e0df163bfc
1 changed files with 0 additions and 4 deletions
|
@ -103,10 +103,6 @@
|
||||||
[% ELSIF item.itemtype.notforloan %]
|
[% ELSIF item.itemtype.notforloan %]
|
||||||
[% SET itemavailable = 0 %]
|
[% SET itemavailable = 0 %]
|
||||||
<span class="item-status notforloan">Not for loan [% IF restricted_lib %]<span class="restricted">([% restricted_lib | html %])</span>[% END %]</span>
|
<span class="item-status notforloan">Not for loan [% IF restricted_lib %]<span class="restricted">([% restricted_lib | html %])</span>[% END %]</span>
|
||||||
[% ELSE %]
|
|
||||||
[% IF restricted_lib %]
|
|
||||||
<span class="item-status restricted">[% restricted_lib | html %]</span>
|
|
||||||
[% END %]
|
|
||||||
[% END %]
|
[% END %]
|
||||||
|
|
||||||
[% IF ( item.bundle_host ) %]
|
[% IF ( item.bundle_host ) %]
|
||||||
|
|
Loading…
Reference in a new issue