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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt (-10 / +11 lines)
Lines 127-133 Link Here
127
                                <tr>
127
                                <tr>
128
                                    <td>[% loopro.timestamp %]</td>
128
                                    <td>[% loopro.timestamp %]</td>
129
                                    <td>
129
                                    <td>
130
                                       [% IF ( module == 'CIRCULATION' ) %]
130
                                       [% IF ( loopro.module == 'CIRCULATION' ) %]
131
                                        <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% loopro.user %]" title="display detail for this user."> [% loopro.user %] </a>
131
                                        <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% loopro.user %]" title="display detail for this user."> [% loopro.user %] </a>
132
                                        [% ELSE %]
132
                                        [% ELSE %]
133
                                        <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% loopro.user %]" title="display detail for this librarian."> [% loopro.user %] </a>
133
                                        <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% loopro.user %]" title="display detail for this librarian."> [% loopro.user %] </a>
Lines 136-162 Link Here
136
                                    <td>[% loopro.module %]</td>
136
                                    <td>[% loopro.module %]</td>
137
                                    <td>[% loopro.action %]</td>
137
                                    <td>[% loopro.action %]</td>
138
                                    <td>
138
                                    <td>
139
                                        [% IF ( module == 'MEMBERS' ) %]
139
                                        [% IF ( loopro.module == 'MEMBERS' ) %]
140
                                            <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% loopro.object %]" title="Display member details."> member [% loopro.object %] </a>
140
                                            <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% loopro.object %]" title="Display member details."> member [% loopro.object %] </a>
141
                                        [% ELSE %]
141
                                        [% ELSE %]
142
                                            [% IF ( module == 'CIRCULATION' ) %]
142
                                            [% IF ( loopro.module == 'CIRCULATION' ) %]
143
                                            <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% loopro.object %]" title="Display member details.">
143
                                            <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% loopro.object %]" title="Display member details.">
144
                                                [% IF ( loopro.object ) %]
144
                                                [% IF ( loopro.object ) %]
145
                                                    member [% loopro.object %]
145
                                                    member [% loopro.object %]
146
                                                [% END %]
146
                                                [% END %]
147
                                            </a>
147
                                            </a>
148
                                            [% ELSE %]
148
                                            [% ELSE %]
149
                                                [% IF ( module == 'CATALOGUING' ) %]
149
                                                [% IF ( loopro.module == 'CATALOGUING' ) %]
150
                                                    [% IF ( info == 'item' ) %]
150
                                                    [% IF ( loopro.info.substr(0, 4) == 'item' ) %]
151
                                                        <a href="/cgi-bin/koha/catalogue/moredetail.pl?item=[% loopro.object %]&amp;biblionumber=[% loopro.biblionumber %]&amp;bi=[% loopro.biblioitemnumber %]#item[% loopro.object %]">Item [% loopro.object %]</a>
151
                                                        <a href="/cgi-bin/koha/catalogue/moredetail.pl?item=[% loopro.object %]&amp;biblionumber=[% loopro.biblionumber %]&amp;bi=[% loopro.biblioitemnumber %]#item[% loopro.object %]">Item [% loopro.object %]</a>
152
                                                    [% ELSE %]
152
                                                    [% ELSIF ( loopro.info.substr(0, 6) == 'biblio' ) %]
153
                                                        <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% loopro.object %]" title="Display detail for this biblio">biblio [% loopro.object %]</a>
153
                                                        <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% loopro.object %]" title="Display detail for this biblio">biblio [% loopro.object %]</a>
154
                                                    [% ELSE %]
155
                                                        [% loopro.object %]
154
                                                    [% END %]
156
                                                    [% END %]
155
                                                [% ELSE %]
157
                                                [% ELSE %]
156
                                                    [% IF ( module == 'SERIAL' ) %]
158
                                                    [% IF ( loopro.module == 'SERIAL' ) %]
157
                                                        <a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% loopro.object %]"> [% loopro.object %] </a>
159
                                                        <a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% loopro.object %]"> [% loopro.object %] </a>
158
                                                    [% ELSE %]
160
                                                    [% ELSE %]
159
                                                        [% IF ( module == 'AUTHORITIES' ) %]
161
                                                        [% IF ( loopro.module == 'AUTHORITIES' ) %]
160
                                                            <a href="/cgi-bin/koha/authorities/detail.pl?authid=[% loopro.object %]" title="Display detail for this authority">auth [% loopro.object %]</a>
162
                                                            <a href="/cgi-bin/koha/authorities/detail.pl?authid=[% loopro.object %]" title="Display detail for this authority">auth [% loopro.object %]</a>
161
                                                        [% ELSE %]
163
                                                        [% ELSE %]
162
                                                            [% loopro.object %]
164
                                                            [% loopro.object %]
Lines 167-173 Link Here
167
                                        [% END %]
169
                                        [% END %]
168
                                    </td>
170
                                    </td>
169
                                    <td>
171
                                    <td>
170
                                        [% IF ( loopro.CIRCULATION ) %]
172
                                        [% IF ( loopro.module == 'CIRCULATION' ) %]
171
                                            <a href="/cgi-bin/koha/catalogue/moredetail.pl?itemnumber=[% loopro.info %]&amp;biblionumber=[% loopro.biblionumber %]&amp;bi=[% loopro.biblioitemnumber %]#item[% loopro.info %]" title="Display detail for this item">Item [% loopro.barcode |html %]</a>
173
                                            <a href="/cgi-bin/koha/catalogue/moredetail.pl?itemnumber=[% loopro.info %]&amp;biblionumber=[% loopro.biblionumber %]&amp;bi=[% loopro.biblioitemnumber %]#item[% loopro.info %]" title="Display detail for this item">Item [% loopro.barcode |html %]</a>
172
                                        [% ELSE %]
174
                                        [% ELSE %]
173
                                            [% loopro.info |html %]
175
                                            [% loopro.info |html %]
174
- 

Return to bug 11473