Bugzilla – Attachment 109948 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.92 KB, created by
Owen Leonard
on 2020-09-11 14:23:28 UTC
(
hide
)
Description:
Bug 26392: Fix opac news display issue when there is no author
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2020-09-11 14:23:28 UTC
Size:
1.92 KB
patch
obsolete
>From b2e2fd990b1a3972e26472c37fa1369a5ead635f 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 > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >--- > 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.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 26392
:
109666
|
109943
|
109944
|
109947
|
109948
|
117794
|
117795