Bugzilla – Attachment 64563 Details for
Bug 17834
Change library news text for single-branch libraries
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17834: Change library news text for single-branch libraries
Bug-17834-Change-library-news-text-for-single-bran.patch (text/plain), 1.83 KB, created by
Biblibre Sandboxes
on 2017-06-23 02:51:33 UTC
(
hide
)
Description:
Bug 17834: Change library news text for single-branch libraries
Filename:
MIME Type:
Creator:
Biblibre Sandboxes
Created:
2017-06-23 02:51:33 UTC
Size:
1.83 KB
patch
obsolete
>From dde88243d1af0ab926ca2359499ef6cff65d4d3f Mon Sep 17 00:00:00 2001 >From: Aleisha Amohia <aleishaamohia@hotmail.com> >Date: Thu, 20 Apr 2017 03:12:14 +0000 >Subject: [PATCH] Bug 17834: Change library news text for single-branch > libraries > >To test: >1) Log into OPAC, go to home page >2) Confirm that the text shows as 'RSS feed for (branchname) library >news' if single-branch library >3) Confirm text shows as normal for libraries with more than one branch > >Sponsored-by: Catalyst IT > >Signed-off-by: maricris <mlabancia@gmail.com> >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > >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 b90d37e..c20b93d 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt >@@ -66,7 +66,11 @@ > <div id="rssnews-container"> > <!-- Logged in users have a branch code or it could be explicitly set --> > <a href="[% OPACBaseURL %]/cgi-bin/koha/opac-news-rss.pl?branchcode=[% branchcode %]"><img src="[% interface %]/[% theme %]/images/feed-icon-16x16.png"></a> >- RSS feed for [% IF ( branchcode ) %][% Branches.GetName( branchcode ) %] <i>and</i> [% END %] system-wide library news. >+ [% IF Branches.all.size == 1 %] >+ RSS feed for [% IF ( branchcode ) %][% Branches.GetName( branchcode ) %][% END %] library news. >+ [% ELSE %] >+ RSS feed for [% IF ( branchcode ) %][% Branches.GetName( branchcode ) %] <i>and</i> [% END %] system-wide library news. >+ [% END %] > </div> > [% ELSE %] > [% IF Koha.Preference( 'OpacNewsLibrarySelect' ) %] >-- >2.7.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 17834
:
62433
|
64563
|
64564
|
64566
|
66745
|
66891