Bug 19808: Do not display 'Added' alone
It seems that reviews.datereviewed ends with NULL in DB. It is caused by another issue that will be fixed on another bug report. Signed-off-by: Jon Knight <J.P.Knight@lboro.ac.uk> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
54f7db9143
commit
e2d88cfb28
1 changed files with 6 additions and 2 deletions
|
@ -86,8 +86,12 @@
|
|||
[% FILTER html_break %]
|
||||
[% review.review |html %]
|
||||
[% END %]
|
||||
<span style="font-size:87%;font-color:#CCC;">Added [% review.datereviewed | $KohaDates %] [% IF ( review.your_comment ) %] by <strong>you</strong>[% ELSE %]
|
||||
[% IF ( review.borrowernumber && ShowReviewer != "none" ) %] by
|
||||
<span style="font-size:87%;font-color:#CCC;">
|
||||
[% IF review.your_comment %]
|
||||
Added [% review.datereviewed | $KohaDates %] by you
|
||||
[% ELSE %]
|
||||
[% IF ( review.borrowernumber && ShowReviewer != "none" ) %]
|
||||
Added [% review.datereviewed | $KohaDates %] by
|
||||
[% SWITCH ShowReviewer %]
|
||||
[% CASE 'full' %]
|
||||
[% review.borrtitle %] [% review.firstname %] [% review.surname %]
|
||||
|
|
Loading…
Reference in a new issue