From a8675cbc077c2acc4df17acc93e495362d1f7c6e Mon Sep 17 00:00:00 2001
From: Kyle M Hall <kyle@bywatersolutions.com>
Date: Wed, 31 Jul 2013 10:54:03 -0400
Subject: [PATCH] Bug 9261 - Allow librarians to make purchase suggestions for
patrons - QA Followup 2
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
---
.../prog/en/modules/members/purchase-suggestions.tt | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/purchase-suggestions.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/purchase-suggestions.tt
index 77fb2b1..1238f63 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/purchase-suggestions.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/purchase-suggestions.tt
@@ -43,9 +43,7 @@
<h2>Purchase suggestions</h2>
<div id="toolbar">
- <ul class="toolbar">
- <li><a id="newsuggestion" href="/cgi-bin/koha/suggestion/suggestion.pl?op=add&suggestedby=[% borrowernumber %]&redirect=purchase_suggestions&borrowernumber=[% borrowernumber %]">New purchase suggestion</a></li>
- </ul>
+ <a class="btn" id="newsuggestion" href="/cgi-bin/koha/suggestion/suggestion.pl?op=add&suggestedby=[% borrowernumber %]&redirect=purchase_suggestions&borrowernumber=[% borrowernumber %]"><i class="icon-plus"></i> New purchase suggestion</a>
</div>
<table id="suggestions">
@@ -62,7 +60,15 @@
[% FOREACH s IN suggestions %]
<tr>
<td>
- <p><strong>[% s.title |html %]</strong></p>
+ <p>
+ <strong>
+ [% IF ( CAN_user_catalogue ) %]
+ <a href="/cgi-bin/koha/suggestion/suggestion.pl?suggestionid=[% s.suggestionid %]&op=show">[% s.title |html %]</a>
+ [% ELSE %]
+ [% s.title |html %]
+ [% END %]
+ </strong>
+ </p>
<p>
[% IF ( s.author ) %][% s.author %],[% END %]
[% IF ( s.copyrightdate ) %] - [% s.copyrightdate %],[% END %]
--
1.7.10.4