Bugzilla – Attachment 109944 Details for
Bug 26392
Wrap all translatable strings in opac-main.tt
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 26392: Fix opac news display issue when there is no author
Bug-26392-Fix-opac-news-display-issue-when-there-i.patch (text/plain), 1.87 KB, created by
Julian Maurice
on 2020-09-11 13:31:27 UTC
(
hide
)
Description:
Bug 26392: Fix opac news display issue when there is no author
Filename:
MIME Type:
Creator:
Julian Maurice
Created:
2020-09-11 13:31:27 UTC
Size:
1.87 KB
patch
obsolete
>From 60f912bda74896c8b7a2c423a5521d405a4a614c Mon Sep 17 00:00:00 2001 >From: Julian Maurice <julian.maurice@biblibre.com> >Date: Fri, 11 Sep 2020 17:28:41 +0400 >Subject: [PATCH] Bug 26392: Fix opac news display issue when there is no > author > >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt | 6 ++---- > 1 file changed, 2 insertions(+), 4 deletions(-) > >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 d08c886d45..fcdfaaaa08 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt >@@ -107,12 +107,10 @@ > <div class="newsbody">[% koha_new.content | $raw %]</div> > <div class="newsfooter"> > [% published_on = BLOCK %][% koha_new.published_on | $KohaDates %][% END %] >- [% author = BLOCK %] >- [% IF ( (newsdisp == 'opac' || newsdisp == 'both') && koha_new.borrowernumber ) %] >+ [% IF ( (newsdisp == 'opac' || newsdisp == 'both') && koha_new.borrowernumber ) %] >+ [% author = BLOCK %] > <span class="newsauthor_title">[% koha_new.author_title | html %] </span>[% koha_new.author_firstname | html %] [% koha_new.author_surname | html %] > [% END %] >- [% END %] >- [% IF author %] > [% t('Published on {published_on} by {author}') | html | $Expand published_on = published_on, author = author %] > [% ELSE %] > [% t('Published on {published_on}') | html | $Expand published_on = published_on %] >-- >2.20.1
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 26392
:
109666
|
109943
|
109944
|
109947
|
109948
|
117794
|
117795