From a1e8e8542aaf14489b5eae7e08ba685fd5c81b55 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 (cherry picked from commit 11b73c1fa06c870a62640ffa8fd8f8610df5df18) Signed-off-by: Katrin Fischer --- .../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 dbada14372..b3092d4e82 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt @@ -53,9 +53,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 %] [% END %] -- 2.39.5