Bug 25288: (QA follow-up) Escape data and restore empty list behaviour
authorTomas Cohen Arazi <tomascohen@theke.io>
Wed, 6 May 2020 21:50:29 +0000 (18:50 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 24 Jun 2020 13:15:41 +0000 (15:15 +0200)
commitd1a8c3fcfed61061ad8876b97851b92b0ea14fe3
tree98391e17257538303f10dfa16f2a6dcd9cbd28f1
parentdd0c207f533a4c65b17b59b40c31ac44633e09a8
Bug 25288: (QA follow-up) Escape data and restore empty list behaviour

After the QA round on bug 25279, some things needed to get fixed:
- Data needs to be escaped
- When no library is defined, we should keep the original behaviour and
  message.
- aria-hidden="true" for FontAwesome coding guideline enforced
- Added role="button" as well.

This patch does that.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
admin/branches.pl
koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt