Bug 34307: (follow-up) Use template wrapper for title tag
This patch updates the title tag to use a wrapper too, since Bug 33906 is in the process of getting fixed. The patch also removes an extra <span> tag: Only the translatable string needs the span, not the entire line. Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
a6ec493647
commit
62a757acd1
1 changed files with 14 additions and 11 deletions
|
@ -1,19 +1,22 @@
|
||||||
[% USE raw %]
|
[% USE raw %]
|
||||||
|
[% PROCESS 'i18n.inc' %]
|
||||||
[% SET footerjs = 1 %]
|
[% SET footerjs = 1 %]
|
||||||
[% INCLUDE 'doc-head-open.inc' %]
|
[% INCLUDE 'doc-head-open.inc' %]
|
||||||
[% IF ( ! method ) %]
|
[% IF ( ! method ) %]
|
||||||
[% method = 'tool'; %]
|
[% method = 'tool'; %]
|
||||||
[% END %]
|
[% END %]
|
||||||
<title>
|
<title>[% FILTER collapse %]
|
||||||
[% IF ( plugin_title ) %][% plugin_title | html %] › [% END %]
|
[% IF ( plugin_title ) %]
|
||||||
Plugins ›
|
[% plugin_title | html %] ›
|
||||||
[% IF ( method == 'tool' ) %]
|
|
||||||
Tools
|
|
||||||
[% ELSE %]
|
|
||||||
Administration
|
|
||||||
[% END %]
|
[% END %]
|
||||||
› Koha
|
[% t("Plugins") | html %] ›
|
||||||
</title>
|
[% IF ( method == 'tool' ) %]
|
||||||
|
[% t("Tools") | html %]
|
||||||
|
[% ELSE %]
|
||||||
|
[% t("Administration") | html %]
|
||||||
|
[% END %] ›
|
||||||
|
[% t("Koha") | html %]
|
||||||
|
[% END %]</title>
|
||||||
[% INCLUDE 'doc-head-close.inc' %]
|
[% INCLUDE 'doc-head-close.inc' %]
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
@ -35,7 +38,7 @@
|
||||||
<a href="/cgi-bin/koha/plugins/plugins-home.pl">Plugins</a>
|
<a href="/cgi-bin/koha/plugins/plugins-home.pl">Plugins</a>
|
||||||
[% END %]
|
[% END %]
|
||||||
[% WRAPPER breadcrumb_item bc_active= 1 %]
|
[% WRAPPER breadcrumb_item bc_active= 1 %]
|
||||||
<span>[% IF ( plugin_title ) %][% plugin_title | html %][% ELSE %]<span>Plugin</span>[% END %]</span>
|
[% IF ( plugin_title ) %][% plugin_title | html %][% ELSE %]<span>Plugin</span>[% END %]
|
||||||
[% END %]
|
[% END %]
|
||||||
[% END #/ WRAPPER breadcrumbs %]
|
[% END #/ WRAPPER breadcrumbs %]
|
||||||
[% END #/ WRAPPER sub-header.inc %]
|
[% END #/ WRAPPER sub-header.inc %]
|
||||||
|
|
Loading…
Reference in a new issue