View | Details | Raw Unified | Return to bug 9261
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/purchase-suggestions.tt (-5 / +10 lines)
Lines 43-51 Link Here
43
                <h2>Purchase suggestions</h2>
43
                <h2>Purchase suggestions</h2>
44
44
45
                <div id="toolbar">
45
                <div id="toolbar">
46
                    <ul class="toolbar">
46
                    <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>
47
                        <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>
48
                    </ul>
49
                </div>
47
                </div>
50
48
51
                <table id="suggestions">
49
                <table id="suggestions">
Lines 62-68 Link Here
62
                        [% FOREACH s IN suggestions %]
60
                        [% FOREACH s IN suggestions %]
63
                            <tr>
61
                            <tr>
64
                                <td>
62
                                <td>
65
                                    <p><strong>[% s.title |html %]</strong></p>
63
                                    <p>
64
                                        <strong>
65
                                            [% IF ( CAN_user_catalogue ) %]
66
                                                <a href="/cgi-bin/koha/suggestion/suggestion.pl?suggestionid=[% s.suggestionid %]&op=show">[% s.title |html %]</a>
67
                                            [% ELSE %]
68
                                                [% s.title |html %]
69
                                            [% END %]
70
                                        </strong>
71
                                    </p>
66
                                    <p>
72
                                    <p>
67
                                        [% IF ( s.author ) %][% s.author %],[% END %]
73
                                        [% IF ( s.author ) %][% s.author %],[% END %]
68
                                        [% IF ( s.copyrightdate ) %] - [% s.copyrightdate %],[% END %]
74
                                        [% IF ( s.copyrightdate ) %] - [% s.copyrightdate %],[% END %]
69
- 

Return to bug 9261