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>
(cherry picked from commit 6284849703)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
parent
a7dc8aa2ec
commit
9a2c770c7e
|
|
@ -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> ›
|
||||
Authorized values for category [% category_name | html %]
|
||||
Authorized values for category [% category.category_name | html %]
|
||||
[% ELSE %]
|
||||
Authorized values
|
||||
[% END %]
|
||||
|
|
|
|||
Loading…
Reference in New Issue