Bugzilla – Attachment 66745 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.97 KB, created by
Kyle M Hall (khall)
on 2017-09-01 14:00:41 UTC
(
hide
)
Description:
Bug 17834: Change library news text for single-branch libraries
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2017-09-01 14:00:41 UTC
Size:
1.97 KB
patch
obsolete
>From e48dd5905c3d2bd40452f7bcaf45e7b697b1627b 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> > >Signed-off-by: anafe <anafeazuela@yahoo.com> > >Signed-off-by: iflora <iflora@unimas.my> > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.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.10.2
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