Bugzilla – Attachment 149414 Details for
Bug 33103
Add vendor aliases
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33103: Fix accessibility issues
Bug-33103-Fix-accessibility-issues.patch (text/plain), 1.71 KB, created by
Jonathan Druart
on 2023-04-11 07:56:43 UTC
(
hide
)
Description:
Bug 33103: Fix accessibility issues
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2023-04-11 07:56:43 UTC
Size:
1.71 KB
patch
obsolete
>From b7fb4e276b3ea3164fa20953dd62ef379ff75242 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 11 Apr 2023 09:53:15 +0200 >Subject: [PATCH] Bug 33103: Fix accessibility issues > >* Add spaces >* Add 'Add' and 'Remove' in addition of the icons >* Do not submit the form when enter is hit >* Fix translatability >--- > koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt >index 8a03894351d..762e4806133 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt >@@ -503,11 +503,11 @@ > let input = $('<input type="hidden" name="alias" />'); > input.val(a.alias); > n.append(input); >- n.append(`<a onclick="remove_alias(${i});"><i class="fa fa-trash" aria-hidden="true"></i></a>`); >+ n.append(` <a style="cursor: pointer;" onclick="remove_alias(${i});"><i class="fa fa-trash" aria-hidden="true"></i> ` + _("Remove") + '</a>'); > nodes.append(n); > }); >- nodes.append("<input id='new_alias' type='text' />"); >- nodes.append(`<a onclick="add_alias();"><i class="fa fa-plus" aria-hidden="true"></i></a>`); >+ nodes.append("<input id='new_alias' type='text' class='noEnterSubmit' />"); >+ nodes.append(' <a style="cursor: pointer;" onclick="add_alias();"><i class="fa fa-plus" aria-hidden="true"></i> ' + _("Add") + '</a>'); > $("#aliases").html(nodes.html()); > } > >-- >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 33103
:
147621
|
147622
|
147623
|
147624
|
147625
|
147626
|
147627
|
147628
|
147629
|
147630
|
147645
|
147646
|
147647
|
147648
|
147649
|
147650
|
147651
|
147652
|
147653
|
147654
|
147827
|
148448
|
148449
|
148450
|
148451
|
148452
|
148453
|
148454
|
148455
|
148456
|
148457
|
148458
|
149414
|
149419
|
149479
|
149480
|
149481
|
149482
|
149483
|
149484
|
149485
|
149486
|
149487
|
149488
|
149489
|
149490
|
149491
|
149606
|
149607
|
149608
|
149609
|
149629
|
149630
|
149788