Browse Source

Bug 28004: Fix breadcrumbs on authorised_values.tt

To Test:
  - go to a category with at least one value, see the complete breadcrumb "Home › Administration › Authorized values › Authorized values for category" with link on the 3 first menus
  - create a new category / go to an empty category ; see the incomplete breadcrumb "Home › Administration › Authorized values" with link only on the 2 first menus
  - Apply patch
  - go to category with at least one value, breadcrumbs should look like Home › Administration › Authorized values › Authorized values for category CATEGORY
  - got to category with no values, breadcrumbs should look the same as category with values

Signed-off-by: Amit Gupta <amitddng135@gmail.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
21.05.x
Lucas Gass 1 year ago
committed by Jonathan Druart
parent
commit
6284849703
  1. 4
      koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tt

4
koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tt

@ -30,9 +30,9 @@
[% IF ( action_modify ) %]Modify authorized value[% END %]
[% IF ( action_add_value ) %]New authorized value[% END %]
[% IF ( action_add_category ) %]New category[% END %]
[% ELSIF ( loop ) %]
[% ELSIF ( loop || searchfield ) %]
<a href="/cgi-bin/koha/admin/authorised_values.pl">Authorized values</a> &rsaquo;
Authorized values for category [% category_name | html %]
Authorized values for category [% category.category_name | html %]
[% ELSE %]
Authorized values
[% END %]

Loading…
Cancel
Save