Bugzilla – Attachment 76662 Details for
Bug 14272
Allow OPAC to show a single news entry
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14272: [FOLLOW-UP] Fixing template error
Bug-14272-FOLLOW-UP-Fixing-template-error.patch (text/plain), 1.28 KB, created by
Aleisha Amohia
on 2018-07-04 01:30:44 UTC
(
hide
)
Description:
Bug 14272: [FOLLOW-UP] Fixing template error
Filename:
MIME Type:
Creator:
Aleisha Amohia
Created:
2018-07-04 01:30:44 UTC
Size:
1.28 KB
patch
obsolete
>From e9f97582c427cd16b7d5cf156ceb0c031755f33a Mon Sep 17 00:00:00 2001 >From: Aleisha Amohia <aleishaamohia@hotmail.com> >Date: Wed, 4 Jul 2018 01:08:17 +0000 >Subject: [PATCH] Bug 14272: [FOLLOW-UP] Fixing template error > >To test, confirm that OpacMainUserBlock and Quote of the Day do not show >if viewing a single news item, but do show otherwise. >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt | 4 +++- > 1 file changed, 3 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 b1b6ef6..f72dbba 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt >@@ -86,7 +86,7 @@ > > [% END %] > >- [% UNLESS news_item %] <!-- If single news item --> >+ [% IF news_item %] <!-- If single news item --> > > <div id="rssnews-container"> > <!-- Logged in users have a branch code or it could be explicitly set --> >@@ -116,6 +116,8 @@ > [% END %] > [% END %] > >+ [% ELSE %] <!-- If single news item --> >+ > [% IF ( display_daily_quote && daily_quote ) %] > <div id="daily-quote"> > <h3>Quote of the day</h3> >-- >2.1.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 14272
:
45721
|
45740
|
45741
|
45818
|
45820
|
45845
|
45846
|
45935
|
45936
|
45937
|
47556
|
47557
|
47558
|
47665
|
47666
|
47667
|
47668
|
47669
|
47670
|
47671
|
47672
|
47673
|
50557
|
50558
|
50559
|
59483
|
70728
|
70729
|
70730
|
70731
|
72065
|
72548
|
72549
|
72550
|
72551
|
76015
|
76307
|
76580
|
76662
|
77546
|
77564
|
77565
|
77566
|
77567
|
77568
|
77569
|
78104
|
78206
|
78207
|
78208
|
78231
|
81643
|
82713
|
83425
|
83426
|
83427
|
83428
|
83429
|
83430
|
84868
|
84869
|
84870
|
84871
|
84872
|
84873
|
84874