Bugzilla – Attachment 59777 Details for
Bug 17960
Rename opac_news.new with opac_news.content
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Bug 17960: Replace missing occurrences
SIGNED-OFF-Bug-17960-Replace-missing-occurrences.patch (text/plain), 3.76 KB, created by
Josef Moravec
on 2017-02-02 09:46:50 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 17960: Replace missing occurrences
Filename:
MIME Type:
Creator:
Josef Moravec
Created:
2017-02-02 09:46:50 UTC
Size:
3.76 KB
patch
obsolete
>From 8328724be24adcc53caff07973cf8476a4276610 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 2 Feb 2017 09:22:09 +0100 >Subject: [PATCH] [SIGNED-OFF] Bug 17960: Replace missing occurrences > >Signed-off-by: Josef Moravec <josef.moravec@gmail.com> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt | 2 +- > koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-receipt.tt | 2 +- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt | 2 +- > 3 files changed, 3 insertions(+), 3 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt >index c34c9ce..fa5cde8 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt >@@ -183,7 +183,7 @@ > [% SET newsdisp = Koha.Preference('NewsAuthorDisplay') %] > [% FOREACH koha_new IN koha_news %] > <div class="newsitem" id="news[% koha_new.idnew %]"><h4>[% koha_new.title %]</h4> >- <div class="newsbody">[% koha_new.new %]</div> >+ <div class="newsbody">[% koha_new.content %]</div> > <p class="newsfooter"> Posted on [% koha_new.newdate %][% IF( ( newsdisp == 'staff' || newsdisp == 'both' ) && koha_new.borrowernumber ) %] by <span class="newsauthor_title">[% koha_new.author_title %] </span>[% koha_new.author_firstname %] [% koha_new.author_surname %]<br />[% END %] > [% IF ( CAN_user_tools ) %] > <a href="/cgi-bin/koha/tools/koha-news.pl?op=add_form&id=[% koha_new.idnew %]">Edit</a> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-receipt.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-receipt.tt >index 071b750..b91a69e 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-receipt.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-receipt.tt >@@ -62,7 +62,7 @@ Date due: [% issueloo.date_due %]</p> > <!-- [% koha_news_count %] recent news item(s) --> > [% FOREACH koha_new IN koha_news %] > <div class="newsitem" id="news[% koha_new.idnew %]"><h5 style="margin-bottom: 1px; margin-top: 1px"><b>[% koha_new.title %]</b></h5> >- <p style="margin-bottom: 1px; margin-top: 1px">[% koha_new.new %]</p> >+ <p style="margin-bottom: 1px; margin-top: 1px">[% koha_new.content %]</p> > <p class="newsfooter" style="font-size: 8pt; font-style:italic; margin-bottom: 1px; margin-top: 1px"> Posted on [% koha_new.newdate %] > > </p><hr /></div> >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 42f1e52..e1ce18c 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt >@@ -44,7 +44,7 @@ > [% FOREACH koha_new IN koha_news %] > <div class="newsitem"> > <a name="newsitem[% koha_new.idnew %]"></a><h4 class="newsheader">[% koha_new.title %]</h4> >- <div class="newsbody">[% koha_new.new %]</div> >+ <div class="newsbody">[% koha_new.content %]</div> > <div class="newsfooter">(published on [% koha_new.newdate %][% IF ( (newsdisp == 'opac' || newsdisp == 'both') && koha_new.borrowernumber ) %] by <span class="newsauthor_title">[% koha_new.author_title %] </span>[% koha_new.author_firstname %] [% koha_new.author_surname %][% END %])</div> > </div> > [% END %] >-- >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 17960
:
59406
|
59407
|
59408
|
59409
|
59488
|
59768
|
59772
|
59773
|
59774
|
59775
|
59776
|
59777
|
59861
|
59862
|
59863
|
59864
|
59865
|
59866