Bug 643 [Template follow-up] Allow override of 'debarred' status
This minor followup makes two changes: - Replaced instances of "Debarment" with "Restriction" - Moved the override button into the block where the "View restrictions" button is, making the section slightly more compact. Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> Some small template changes, no problems found. Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
This commit is contained in:
parent
85489f7bdf
commit
1d17e36e36
|
|
@ -425,7 +425,7 @@ $(document).ready(function() {
|
|||
</ul>
|
||||
|
||||
[% IF (forceallow) %]
|
||||
<li>Debarment overridden temporarily</li>
|
||||
<li>Restriction overridden temporarily</li>
|
||||
[% END %]
|
||||
|
||||
</div></div>
|
||||
|
|
@ -435,7 +435,7 @@ $(document).ready(function() {
|
|||
[% END %]
|
||||
|
||||
[% IF (forceallow) %]
|
||||
<div id="overridden_debarment" class="dialog alert">Debarment overridden temporarily</div>
|
||||
<div id="overridden_debarment" class="dialog alert">Restriction overridden temporarily</div>
|
||||
[% END %]
|
||||
|
||||
[% END %] <!-- /impossible -->
|
||||
|
|
@ -603,6 +603,11 @@ No patron matched <span class="ex">[% message %]</span>
|
|||
|
||||
<br/>
|
||||
<a class="btn btn-small" href="#reldebarments" onclick="$('#debarments-tab-link').click()"><i class="icon-ban-circle"></i> View restrictions</a>
|
||||
[% IF (noissues && borrowernumber && CAN_user_circulate_force_checkout) %]
|
||||
<span class="override_debarment">
|
||||
<a href="/cgi-bin/koha/circ/circulation.pl?forceallow=1&borrowernumber=[% borrowernumber %]" class="btn btn-small">Override restriction temporarily</a>
|
||||
</span>
|
||||
[% END %]
|
||||
</li>
|
||||
[% END %]
|
||||
|
||||
|
|
@ -627,13 +632,6 @@ No patron matched <span class="ex">[% message %]</span>
|
|||
|
||||
|
||||
</ul>
|
||||
|
||||
[% IF (noissues && borrowernumber && CAN_user_circulate_force_checkout) %]
|
||||
<div class="override_debarment">
|
||||
<a href="/cgi-bin/koha/circ/circulation.pl?forceallow=1&borrowernumber=[% borrowernumber %]" class="btn btn-small">Override debarment temporarily</a>
|
||||
</div>
|
||||
[% END %]
|
||||
|
||||
</div>
|
||||
|
||||
[% IF ( WaitingReserveLoop ) %]
|
||||
|
|
|
|||
Loading…
Reference in New Issue