Bug 9261: (follow-up) fix various issues identified during QA

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
This commit is contained in:
Kyle Hall 2013-07-31 10:54:03 -04:00 committed by Galen Charlton
parent 8505942344
commit c1dbee2ea4

View file

@ -43,9 +43,7 @@
<h2>Purchase suggestions</h2> <h2>Purchase suggestions</h2>
<div id="toolbar"> <div id="toolbar">
<ul class="toolbar"> <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>
<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>
</div> </div>
<table id="suggestions"> <table id="suggestions">
@ -62,7 +60,15 @@
[% FOREACH s IN suggestions %] [% FOREACH s IN suggestions %]
<tr> <tr>
<td> <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> <p>
[% IF ( s.author ) %][% s.author %],[% END %] [% IF ( s.author ) %][% s.author %],[% END %]
[% IF ( s.copyrightdate ) %] - [% s.copyrightdate %],[% END %] [% IF ( s.copyrightdate ) %] - [% s.copyrightdate %],[% END %]