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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-details.tt (+10 lines)
Lines 73-78 Link Here
73
                <thead>
73
                <thead>
74
                    <tr>
74
                    <tr>
75
                        <th class="antithe">Title</th>
75
                        <th class="antithe">Title</th>
76
                        <th>Author</th>
76
                        <th>Barcode</th>
77
                        <th>Barcode</th>
77
                        <th>Call number</th>
78
                        <th>Call number</th>
78
                        [% IF item_level_itypes %]<th>Item type</th>[% END %]
79
                        [% IF item_level_itypes %]<th>Item type</th>[% END %]
Lines 84-89 Link Here
84
                        [% IF CAN_user_coursereserves_add_reserves %]<th class="NoSort">&nbsp;<!-- Edit --></th>[% END %]
85
                        [% IF CAN_user_coursereserves_add_reserves %]<th class="NoSort">&nbsp;<!-- Edit --></th>[% END %]
85
                        [% IF CAN_user_coursereserves_delete_reserves %]<th class="NoSort">&nbsp;<!-- Remove --></th>[% END %]
86
                        [% IF CAN_user_coursereserves_delete_reserves %]<th class="NoSort">&nbsp;<!-- Remove --></th>[% END %]
86
                        <th class="NoSort">Other course reserves</th>
87
                        <th class="NoSort">Other course reserves</th>
88
                        <th>Link</th>
87
                    </tr>
89
                    </tr>
88
                </thead>
90
                </thead>
89
91
Lines 91-96 Link Here
91
                    [% FOREACH cr IN course_reserves %]
93
                    [% FOREACH cr IN course_reserves %]
92
                        <tr>
94
                        <tr>
93
                            <td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% cr.item.biblionumber %]">[% cr.item.title %]</a></td>
95
                            <td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% cr.item.biblionumber %]">[% cr.item.title %]</a></td>
96
                            <td>[% cr.item.author %]</td>
94
                            <td><a href="/cgi-bin/koha/catalogue/moredetail.pl?itemnumber=[% cr.item.itemnumber %]&amp;biblionumber=[% cr.item.biblionumber %]&amp;bi=[% cr.item.biblioitemnumber %]">[% cr.item.barcode %]</a></td>
97
                            <td><a href="/cgi-bin/koha/catalogue/moredetail.pl?itemnumber=[% cr.item.itemnumber %]&amp;biblionumber=[% cr.item.biblionumber %]&amp;bi=[% cr.item.biblioitemnumber %]">[% cr.item.barcode %]</a></td>
95
                            <td>[% cr.item.itemcallnumber %]</td>
98
                            <td>[% cr.item.itemcallnumber %]</td>
96
                            [% IF item_level_itypes %]
99
                            [% IF item_level_itypes %]
Lines 194-199 Link Here
194
                                    [% END %]
197
                                    [% END %]
195
                                [% END %]
198
                                [% END %]
196
                            </td>
199
                            </td>
200
                            <td>
201
                                [% IF (cr.item.uri) %]
202
                                    <a href="[% cr.item.uri %]">Item URI</a>
203
                                [% ELSIF (cr.item.url) %]
204
                                    <a href="[% cr.item.url %]">Record URL</a>
205
                                [% END %]
206
                            </td>
197
                        </tr>
207
                        </tr>
198
                    [% END %]
208
                    [% END %]
199
                </tbody>
209
                </tbody>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-course-details.tt (-1 / +9 lines)
Lines 50-55 Link Here
50
                        <thead>
50
                        <thead>
51
                            <tr>
51
                            <tr>
52
                                <th class="anti-the">Title</th>
52
                                <th class="anti-the">Title</th>
53
                                <th>Author</th>
53
                                <th>Item type</th>
54
                                <th>Item type</th>
54
                                <th>Location</th>
55
                                <th>Location</th>
55
                                <th>Collection</th>
56
                                <th>Collection</th>
Lines 58-63 Link Here
58
                                <th>Status</th>
59
                                <th>Status</th>
59
                                <th class="title-string">Date due</th>
60
                                <th class="title-string">Date due</th>
60
                                <th>Notes</th>
61
                                <th>Notes</th>
62
                                <th>Link</th>
61
                            </tr>
63
                            </tr>
62
                        </thead>
64
                        </thead>
63
65
Lines 65-70 Link Here
65
                            [% FOREACH cr IN course_reserves %]
67
                            [% FOREACH cr IN course_reserves %]
66
                                <tr>
68
                                <tr>
67
                                    <td><a href="opac-detail.pl?biblionumber=[% cr.item.biblionumber %]">[% cr.item.title %]</a></td>
69
                                    <td><a href="opac-detail.pl?biblionumber=[% cr.item.biblionumber %]">[% cr.item.title %]</a></td>
70
                                    <td>[% cr.item.author %]</td>
68
                                    <td>[% ItemTypes.GetDescription( cr.item.itype ) %]</td>
71
                                    <td>[% ItemTypes.GetDescription( cr.item.itype ) %]</td>
69
                                    <td>[% Branches.GetName( cr.item.holdingbranch ) %] <br/> <i>[% AuthorisedValues.GetByCode( 'LOC', cr.item.location ) %]</i></td>
72
                                    <td>[% Branches.GetName( cr.item.holdingbranch ) %] <br/> <i>[% AuthorisedValues.GetByCode( 'LOC', cr.item.location ) %]</i></td>
70
                                    <td>[% AuthorisedValues.GetByCode( 'CCODE', cr.item.ccode ) %]</td>
73
                                    <td>[% AuthorisedValues.GetByCode( 'CCODE', cr.item.ccode ) %]</td>
Lines 78-83 Link Here
78
                                            [% cr.item.itemnotes %]
81
                                            [% cr.item.itemnotes %]
79
                                        [% END %]
82
                                        [% END %]
80
                                    </td>
83
                                    </td>
84
                                    <td>[% IF (cr.item.uri) %]
85
                                            <a href="[% cr.item.uri %]">Item URI</a>
86
                                        [% ELSIF (cr.item.url) %]
87
                                            <a href="[% cr.item.url %]">Record URL</a>
88
                                        [% END %]
89
                                    </td>
81
                                </tr>
90
                                </tr>
82
                            [% END %]
91
                            [% END %]
83
                        </tbody>
92
                        </tbody>
84
- 

Return to bug 15853