Bugzilla – Attachment 142116 Details for
Bug 31692
Let librarians change item level holds to record level holds when possible
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 31692: (follow-up) Use fa-chain and fa-chain-broken icons
Bug-31692-follow-up-Use-fa-chain-and-fa-chain-brok.patch (text/plain), 2.35 KB, created by
Lari Taskula
on 2022-10-18 22:58:08 UTC
(
hide
)
Description:
Bug 31692: (follow-up) Use fa-chain and fa-chain-broken icons
Filename:
MIME Type:
Creator:
Lari Taskula
Created:
2022-10-18 22:58:08 UTC
Size:
2.35 KB
patch
obsolete
>From 104e96f78e31013b9639b0b7f5f85988fa2ea480 Mon Sep 17 00:00:00 2001 >From: Lari Taskula <lari.taskula@hypernova.fi> >Date: Tue, 18 Oct 2022 21:58:35 +0000 >Subject: [PATCH] Bug 31692: (follow-up) Use fa-chain and fa-chain-broken icons > >--- > koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc | 2 +- > koha-tmpl/intranet-tmpl/prog/js/holds.js | 2 ++ > 2 files changed, 3 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc >index 650dd414c5..7832f56a4d 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc >@@ -181,7 +181,7 @@ > [%- ELSE -%] > <span style="display:none">Next available</span> > [%- END -%] >- <a id="change_hold_type_icon" data-reserve-id="[% hold.reserve_id | html %]" href="#" class="clear_date fa fa-fw fa-remove" title="Change to next available item" aria-label="Change to next available item"></a> >+ <a id="change_hold_type_icon" data-reserve-id="[% hold.reserve_id | html %]" href="#" class="clear_date fa fa-fw fa-chain-broken" title="Change to next available item" aria-label="Change to next available item"></a> > <input id="change_hold_type_[% hold.reserve_id | html %]" type="hidden" name="change_hold_type_[% hold.reserve_id | html %]" value="0"> > [%- END -%] > </em> >diff --git a/koha-tmpl/intranet-tmpl/prog/js/holds.js b/koha-tmpl/intranet-tmpl/prog/js/holds.js >index 27df855190..cc9036fb6d 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/holds.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/holds.js >@@ -454,11 +454,13 @@ $(document).ready(function() { > next_available.hide(); > only_itemlink.show(); > only_item.show(); >+ $(this).removeClass("fa-chain").addClass("fa-chain-broken"); > } else { > $("input#change_hold_type_" + reserve_id).val("1"); > only_itemlink.hide(); > only_item.hide(); > next_available.show(); >+ $(this).removeClass("fa-chain-broken").addClass("fa-chain"); > } > return false; > }); >-- >2.25.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 31692
:
141388
|
141390
|
142102
|
142103
|
142104
|
142106
|
142107
|
142108
|
142109
|
142114
|
142115
|
142116
|
142117
|
142118
|
142586
|
142587
|
142595
|
142596
|
142818
|
142819
|
143151
|
143160
|
143161
|
143162
|
143614
|
143615
|
143616
|
143617
|
143618
|
143619
|
143627
|
143628
|
143629