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:
parent
16234dda5f
commit
79464e6224
1 changed files with 14 additions and 6 deletions
|
@ -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 %] ›
|
||||
[% 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 %] ›
|
||||
[% 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 %] ›
|
||||
[% t("Rotating collections") | html %] ›
|
||||
[% t("Tools") | html %] ›
|
||||
|
@ -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 %]
|
||||
|
|
Loading…
Reference in a new issue