From 90c601e17db3eea4a4fdb1f9fed7428afb1b87fd Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 6 Sep 2017 13:14:56 -0300 Subject: [PATCH] Bug 17834: Make translation easier --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt index c20b93d994..ba5372ef6b 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt @@ -67,9 +67,17 @@ [% IF Branches.all.size == 1 %] - RSS feed for [% IF ( branchcode ) %][% Branches.GetName( branchcode ) %][% END %] library news. + [% IF branchcode %] + RSS feed for [% Branches.GetName( branchcode ) %] library news. + [% ELSE %] + RSS feed for library news. + [% END %] [% ELSE %] - RSS feed for [% IF ( branchcode ) %][% Branches.GetName( branchcode ) %] and [% END %] system-wide library news. + [% IF branchcode %] + RSS feed for [% Branches.GetName( branchcode ) %] and system-wide library news. + [% ELSE %] + RSS feed for system-wide library news. + [% END %] [% END %] [% ELSE %] -- 2.11.0