Bugzilla – Attachment 109199 Details for
Bug 21066
Replace opac_news.timestamp by published_on and add updated_on as timestamp
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 21066: (QA follow-up) Fix publication date display in OPAC
Bug-21066-QA-follow-up-Fix-publication-date-displa.patch (text/plain), 1.53 KB, created by
Katrin Fischer
on 2020-08-26 19:22:01 UTC
(
hide
)
Description:
Bug 21066: (QA follow-up) Fix publication date display in OPAC
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2020-08-26 19:22:01 UTC
Size:
1.53 KB
patch
obsolete
>From 678ffece69e1674220f36439abfc2d3dadeb39f8 Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <katrin.fischer.83@web.de> >Date: Wed, 26 Aug 2020 21:14:50 +0200 >Subject: [PATCH] Bug 21066: (QA follow-up) Fix publication date display in > OPAC > >The date would no longer show, changed the variable name and >removed the hours, as the field in the database is a date >and not a datetime. > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt | 2 +- > 1 file changed, 1 insertion(+), 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 2288fc6b9f..23709abcaf 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt >@@ -94,7 +94,7 @@ > </h4> > <div class="newsbody">[% koha_new.content | $raw %]</div> > <div class="newsfooter"> >- Published on [% koha_new.timestamp | $KohaDates with_hours = 1 %] >+ Published on [% koha_new.publicationdate | $KohaDates %] > [% IF ( (newsdisp == 'opac' || newsdisp == 'both') && koha_new.borrowernumber ) %] > by <span class="newsauthor_title">[% koha_new.author_title | html %] </span>[% koha_new.author_firstname | html %] [% koha_new.author_surname | html %] > [% END %] >-- >2.11.0
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 21066
:
77037
|
77038
|
77039
|
107769
|
107770
|
107771
|
107772
|
107773
|
107774
|
107775
|
107776
|
109148
|
109149
|
109150
|
109151
|
109152
|
109153
|
109154
|
109192
|
109193
|
109194
|
109195
|
109196
|
109197
|
109198
| 109199 |
109354
|
109514
|
109515