Bugzilla – Attachment 3951 Details for
Bug 5897
Hide name of reviewer / comment writer in OPAC
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Follow-up fix for recent comments page
0001-Follow-up-fix-for-Bug-5897-Hide-name-of-comment-writ.patch (text/plain), 3.92 KB, created by
Owen Leonard
on 2011-04-19 18:58:06 UTC
(
hide
)
Description:
Follow-up fix for recent comments page
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2011-04-19 18:58:06 UTC
Size:
3.92 KB
patch
obsolete
>From 77bcb936cd95c5706678820955fb3642322af456 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Tue, 19 Apr 2011 14:55:47 -0400 >Subject: [PATCH] Follow-up fix for Bug 5897 - Hide name of comment writer in OPAC >Content-Type: text/plain; charset="utf-8" > >Correcting 'recent comments' view to obey ShowReviewer pref >--- > koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt | 6 +++--- > .../opac-tmpl/prog/en/modules/opac-showreviews.tt | 8 +++++--- > 2 files changed, 8 insertions(+), 6 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt >index 92a8dd3..740f394 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt >+++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt >@@ -669,12 +669,12 @@ YAHOO.util.Event.onContentReady("furtherm", function () { > </h5> > <small>[% review.datereviewed %]</small> > <p> >- [% review.review |0 %] >+ [% review.review %] > <a href="#" onclick="Dopop('/cgi-bin/koha/opac-review.pl?biblionumber=[% review.biblionumber %]&reviewid=[% review.reviewid %]');">Edit</a> > </p></div> > [% ELSE %] > <div class="commentline"> >- [% IF ( review.ShowReviewer ) %] >+ [% IF ( ShowReviewer ) %] > <h5> > Comment by > [% review.title %] >@@ -684,7 +684,7 @@ YAHOO.util.Event.onContentReady("furtherm", function () { > [% END %] > <small>[% review.datereviewed %]</small> > <p> >- [% review.review |0 %] >+ [% review.review %] > </p></div> > [% END %] > [% END %] >diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-showreviews.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-showreviews.tt >index b16b219..e64fcae 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-showreviews.tt >+++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-showreviews.tt >@@ -22,9 +22,9 @@ $(document).ready(function(){ > [% UNLESS ( loop.odd ) %]<tr class="highlight">[% ELSE %]<tr>[% END %] > <td> > >-<p>[% IF ( review.BiblioDefaultViewmarc ) %]<a class="title" href="/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=[% review.biblionumber |url %]" title="View details for this title"> >+<p>[% IF ( BiblioDefaultViewmarc ) %]<a class="title" href="/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=[% review.biblionumber |url %]" title="View details for this title"> > [% ELSE %] >- [% IF ( review.BiblioDefaultViewisbd ) %]<a class="title" href="/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=[% review.biblionumber |url %]" title="View details for this title"> >+ [% IF ( BiblioDefaultViewisbd ) %]<a class="title" href="/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=[% review.biblionumber |url %]" title="View details for this title"> > [% ELSE %]<a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% review.biblionumber |url %]#comments" title="View details for this title"> > [% END %] > [% END %] >@@ -47,7 +47,9 @@ $(document).ready(function(){ > [% IF ( review.copyrightdate ) %]<span class="results_summary"><span class="label">Date:</span>[% review.copyrightdate %]</span>[% END %]</p> > > <p class="commentline[% IF ( review.your_comment ) %] yours[% END %]">[% review.review |html %] >- <span style="font-size:87%;font-color:#CCC;">Added [% review.datereviewed %] by [% IF ( review.your_comment ) %]<strong>you</strong>[% ELSE %][% review.firstname %] [% review.surname %][% END %]</span></p> >+ <span style="font-size:87%;font-color:#CCC;">Added [% review.datereviewed %] [% IF ( review.your_comment ) %] by <strong>you</strong>[% ELSE %] >+ [% IF ( ShowReviewer ) %] by >+ [% review.firstname %] [% review.surname %][% END %][% END %]</span></p> > </td> > <td> > <a class="p1" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% review.biblionumber %]"> >-- >1.7.3 >
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 5897
:
3441
| 3951