Bug 37213: (follow-up) Remove stray closing em tag, make title logic consistent with breadcrumbs

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:
Owen Leonard 2024-06-28 11:21:13 +00:00 committed by Katrin Fischer
parent 16234dda5f
commit 79464e6224
Signed by: kfischer
GPG key ID: 0EF6E2C03357A834

View file

@ -4,13 +4,21 @@
[% SET footerjs = 1 %]
[% INCLUDE 'doc-head-open.inc' %]
<title>[% FILTER collapse %]
[% IF ( op == "new" ) %]
[% t("Add a new collection") | html %]
[% IF ( op == "new" || op == "edit" ) %]
[% IF ( previousActionEdit ) %]
[% t("Edit collection") | html %] &rsaquo;
[% tx("Collection '{collection_title}'", { collection_title = editColTitle }) | html %]
[% ELSE %]
[% t("Add a new collection") | html %]
[% END %]
[% ELSIF ( op == "cud-delete" ) %]
[% t("Collection deleted") | html %]
[% ELSE %]
[% t("Edit collection") | html %] &rsaquo;
[% tx("Collection '{collection_title}'", { collection_title = editColTitle }) | html %]
[% ELSIF ( op == "cud-create" ) %]
[% IF ( createSuccess ) %]
[% t("Collection created successfully") | html %]
[% ELSE %]
[% t("Collection creation failed") | html %]
[% END %]
[% END %] &rsaquo;
[% t("Rotating collections") | html %] &rsaquo;
[% t("Tools") | html %] &rsaquo;
@ -52,7 +60,7 @@
[% 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>
<a href="/cgi-bin/koha/rotating_collections/addItems.pl?colId=[% editColId | uri %]">[% tx("Collection '{collection_title}'", { collection_title = editColTitle }) | html %]</a>
[% END %]
[% WRAPPER breadcrumb_item bc_active= 1 %]
[% t("Edit collection") | html %]