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 %]