From 11b73c1fa06c870a62640ffa8fd8f8610df5df18 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 Signed-off-by: Jonathan Druart (cherry picked from commit 0c6538f033f43cde33d186561a93a197467bd9a1) Signed-off-by: Fridolin Somers --- .../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.39.5