Bug 34905: Fix icon

Test plan, on k-t-d:
1) Install FreeForm, run:
bash <(curl -s https://raw.githubusercontent.com/ammopt/koha-ill-dev/master/start-ill-dev.sh)

2) Create a new FreeForm ILL request:
http://localhost:8081/cgi-bin/koha/ill/ill-requests.pl?method=create&backend=FreeForm

3) Pick a request type and input "42" in cardnumber and select a random library.

4) Notice the "Place request with partners" icon is gone from the top action bar.

5) Apply patch. Repeat.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Pedro Amorim 2023-09-25 16:10:06 +00:00 committed by Tomas Cohen Arazi
parent 80db256a47
commit a408421b9b
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F
2 changed files with 3 additions and 3 deletions

View file

@ -531,7 +531,7 @@ sub _core_status_graph {
ui_method_name => 'Place request with partners',
method => 'generic_confirm',
next_actions => [ 'COMP', 'CHK', 'REQREV' ],
ui_method_icon => 'fa-send-o',
ui_method_icon => 'fa-paper-plane',
},
REQREV => {
prev_actions => [ 'REQ', 'GENREQ' ],

View file

@ -350,7 +350,7 @@ subtest 'Status Graph tests' => sub {
ui_method_name => 'Place request with partners',
method => 'generic_confirm',
next_actions => [ 'COMP', 'CHK', 'REQREV' ],
ui_method_icon => 'fa-send-o',
ui_method_icon => 'fa-paper-plane',
},
REQREV => {
prev_actions => [ 'REQ', 'GENREQ' ],
@ -469,7 +469,7 @@ subtest 'Status Graph tests' => sub {
ui_method_name => 'Place request with partners',
method => 'generic_confirm',
next_actions => [ 'COMP', 'CHK', 'REQREV' ],
ui_method_icon => 'fa-send-o',
ui_method_icon => 'fa-paper-plane',
},
REQREV => {
prev_actions => [ 'REQ', 'GENREQ' ],