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

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

Return to bug 9261