Bug 37213: Improved breadcrumbs in rotating collections
To test: 1. Tools -> Rotating collections -> New collections 2. Add a title and description 3. After adding the new collection notice the breadcrumb isn't right 4. Apply patch 5. Repeat steps 1 and 2 6. After adding the new collection notice the breadcrumb is improved. Signed-off-by: Sam Lau <samalau@gmail.com> Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
0e359a5981
commit
16234dda5f
1 changed files with 10 additions and 0 deletions
|
@ -40,6 +40,16 @@
|
|||
[% WRAPPER breadcrumb_item bc_active= 1 %]
|
||||
<span>Collection deleted</span>
|
||||
[% END %]
|
||||
[% ELSIF ( op == "cud-create" ) %]
|
||||
[% IF ( createSuccess ) %]
|
||||
[% WRAPPER breadcrumb_item bc_active= 1 %]
|
||||
<span>Collection created successfully</span>
|
||||
[% END %]
|
||||
[% ELSE %]
|
||||
[% WRAPPER breadcrumb_item bc_active= 1 %]
|
||||
<span>Collection creation failed</span>
|
||||
[% END %]
|
||||
[% END %]
|
||||
[% ELSE %]
|
||||
[% WRAPPER breadcrumb_item %]
|
||||
<a href="/cgi-bin/koha/rotating_collections/addItems.pl?colId=[% editColId | uri %]">[% tx("Collection '{collection_title}'", { collection_title = editColTitle }) | html %]</em></a>
|
||||
|
|
Loading…
Reference in a new issue