Bug 9261: (follow-up) fix various issues identified during QA
authorKyle M Hall <kyle@bywatersolutions.com>
Wed, 31 Jul 2013 14:54:03 +0000 (10:54 -0400)
committerGalen Charlton <gmc@esilibrary.com>
Fri, 15 Nov 2013 00:22:59 +0000 (00:22 +0000)
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
koha-tmpl/intranet-tmpl/prog/en/modules/members/purchase-suggestions.tt

index 77fb2b1..1238f63 100644 (file)
@@ -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">
                         [% 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 %]