From ea022e1753d9fc83adb60953718afa343e0d9709 Mon Sep 17 00:00:00 2001 From: Aleisha Date: Sun, 13 Mar 2016 23:29:42 +0000 Subject: [PATCH] Bug 15044: Add date suggestion to OPAC suggestions table To test: 1) Log in to OPAC, go to your purchase suggestions (opac-suggestions.pl) 2) Confirm there is now a 'Suggested on' column displaying the date of your past suggestions 3) Add a new purchase suggestion and confirm that the date displayed is correct Sponsored-by: Catalyst IT Signed-off-by: Marjorie --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt index c176a12..f9f92f2 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt @@ -1,5 +1,6 @@ [% USE Koha %] [% USE AuthorisedValues %] +[% USE KohaDates %] [% INCLUDE 'doc-head-open.inc' %] [% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog › [% IF ( op_add ) %]Enter a new purchase suggestion[% END %] @@ -161,6 +162,7 @@ <tr> [% IF ( loggedinusername ) %]<th> </th>[% END %] <th>Summary</th> + <th>Suggested on</th> <th>Note</th> [% IF Koha.Preference( 'OPACViewOthersSuggestions' ) == 1 %]<th>Suggested for</th>[% END %] [% IF Koha.Preference( 'OpacSuggestionManagedBy' ) %]<th>Managed by</th>[% END %] @@ -188,6 +190,9 @@ </p> </td> <td> + [% IF ( suggestions_loo.suggesteddate ) %][% suggestions_loo.suggesteddate |$KohaDates %][% END %] + </td> + <td> [% IF ( suggestions_loo.note ) %] <span class="tdlabel">Note: </span> [% suggestions_loo.note |html %] -- 1.7.10.4