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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt (-89 / +92 lines)
Lines 136-205 function verify_images() { Link Here
136
</div>
136
</div>
137
137
138
<div id="doc3" class="yui-t2">
138
<div id="doc3" class="yui-t2">
139
139
    [% IF ( unknownbiblionumber ) %]
140
[% IF ( unknownbiblionumber ) %]
140
        <div class="dialog message">The record you requested does not exist ([% biblionumber %]).</div>
141
  <div class="dialog message">The record you requested does not exist ([% biblionumber %]).</div>
142
[% ELSE %]
143
   <div id="bd">
144
    <div id="yui-main">
145
    <div class="yui-b">
146
147
[% INCLUDE 'cat-toolbar.inc' %]
148
    [% IF ( ocoins ) %]
149
        <!-- COinS / OpenURL -->
150
        <span class="Z3988" title="[% ocoins %]"></span>
151
    [% END %]
152
153
    [% IF ( AmazonCoverImages ) %]
154
        [% IF ( XSLTDetailsDisplay ) %]
155
            <div class="yui-gc">
156
            <div id="catalogue_detail_biblio" class="yui-u first">
157
        [% ELSE %]
158
            <div class="yui-gb">
159
            <div id="catalogue_detail_biblio" class="yui-u first">
160
        [% END %]
161
    [% ELSE %]
141
    [% ELSE %]
162
        [% IF ( XSLTDetailsDisplay ) %]
142
        <div id="bd">
163
            <div class="yui-g">
143
            <div id="yui-main">
164
            <div id="catalogue_detail_biblio">
144
                <div class="yui-b">
165
        [% ELSE %]
145
                    [% INCLUDE 'cat-toolbar.inc' %]
166
            <div class="yui-g">
146
                    [% IF ( ocoins ) %]
167
            <div id="catalogue_detail_biblio" class="yui-u first">
147
                        <!-- COinS / OpenURL -->
168
        [% END %]
148
                        <span class="Z3988" title="[% ocoins %]"></span>
169
    [% END %]
149
                    [% END %]
170
150
                    [% IF ( AmazonCoverImages ) %]
171
    [% IF ( XSLTDetailsDisplay ) %]
151
                        [% IF ( XSLTDetailsDisplay ) %]
172
        [% XSLTBloc %]
152
                            <div class="yui-gc">
173
        [% IF ( countorders || countdeletedorders ) %]
153
                            <div id="catalogue_detail_biblio" class="yui-u first">
174
            <span class="biblio_in_orders">
154
                        [% ELSE %]
175
	        <span class="label">Number of order(s) using this title: </span>
155
                            <div class="yui-gb">
176
		<span>
156
                            <div id="catalogue_detail_biblio" class="yui-u first">
177
		    [% IF ( countorders ) %]
157
                        [% END %]
178
                        [% countorders %] active order(s) in basket(s)
158
                    [% ELSE %]
179
			[% FOREACH basketo IN basketsorders %]
159
                        [% IF ( XSLTDetailsDisplay ) %]
180
			   [% IF ( CAN_user_acquisition_order_manage ) %]
160
                            <div class="yui-g">
181
			    <a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% basketo %]">#[% basketo %]</a>,
161
                            <div id="catalogue_detail_biblio">
182
			   [% ELSE %]
162
                        [% ELSE %]
183
			    [% basketo %],
163
                            <div class="yui-g">
184
			   [% END %]
164
                            <div id="catalogue_detail_biblio" class="yui-u first">
185
			[% END %]
165
                        [% END %]
186
		    [% END %]
166
                    [% END %]
187
		    [% IF ( countorders && countdeletedorders ) %]
167
                  [% IF ( XSLTDetailsDisplay ) %]
188
		        and
168
                        [% XSLTBloc %]
189
		    [% END %]
169
                        [% IF ( countorders || countdeletedorders ) %]
190
		    [% IF ( countdeletedorders ) %]
170
                            <span class="biblio_in_orders">
191
                        [% countdeletedorders %] deleted order(s) in basket(s)
171
                                <span class="label">Number of order(s) using this title: </span>
192
			[% FOREACH basketdo IN basketsdeletedorders %]
172
                                <span>
193
			   [% IF ( CAN_user_acquisition_order_manage ) %]
173
                                    [% IF ( countorders ) %]
194
			    <a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% basketdo %]">#[% basketdo %]</a>,
174
                                        [% countorders %] active order(s) in basket(s)
195
			   [% ELSE %]
175
                                        [% FOREACH basketo IN basketsorders %]
196
			    [% basketdo %],
176
                                            [% IF ( CAN_user_acquisition_order_manage ) %]
197
			   [% END %]
177
                                                <a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% basketo %]">#[% basketo %]</a>
198
			[% END %]
178
                                                [%- UNLESS loop.last %],[% END %]                                
199
		    [% END %]
179
                                            [% ELSE %]
200
	       </span>
180
                                                [% basketo %]
201
	  </span>
181
                                                [%- UNLESS loop.last %],[% END %]
202
        [% END %]
182
                                            [% END %]
183
                                        [% END %]
184
                                    [% END %]
185
                                    [% IF ( countorders && countdeletedorders ) %]
186
                                        and
187
                                    [% END %]
188
                                    [% IF ( countdeletedorders ) %]
189
                                        [% countdeletedorders %] deleted order(s) in basket(s)
190
                                        [% FOREACH basketdo IN basketsdeletedorders %]
191
                                            [% IF ( CAN_user_acquisition_order_manage ) %]
192
                                                <a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% basketdo %]">#[% basketdo %]</a>
193
                                                [%- UNLESS loop.last %],[% END %]
194
                                            [% ELSE %]
195
                                                [% basketdo %]
196
                                                [%- UNLESS loop.last %],[% END %]
197
                                            [% END %]
198
                                        [% END %]
199
                                    [% END %]
200
                                </span>
201
                            </span>
202
                        [% END %]
203
        [% IF ( GetShelves ) %]
203
        [% IF ( GetShelves ) %]
204
            <span class="results_summary"><span class="label">Lists that include this title: </span>
204
            <span class="results_summary"><span class="label">Lists that include this title: </span>
205
            [% FOREACH GetShelve IN GetShelves %]
205
            [% FOREACH GetShelve IN GetShelves %]
Lines 333-365 function verify_images() { Link Here
333
                [% END %]
333
                [% END %]
334
            </li>
334
            </li>
335
        [% END %]
335
        [% END %]
336
	<span>&nbsp;</span>
336
        <span>&nbsp;</span>
337
        [% IF ( countorders || countdeletedorders ) %]
337
        [% IF ( countorders || countdeletedorders ) %]
338
            <li><strong>Number of order(s) using this title: </strong>
338
            <li><strong>Number of order(s) using this title: </strong>
339
	            [% IF ( countorders ) %]
339
                [% IF ( countorders ) %]
340
                        [% countorders %] active order(s) in basket(s)
340
                    [% countorders %] active order(s) in basket(s)
341
			[% FOREACH basketo IN basketsorders %]
341
                    [% FOREACH basketo IN basketsorders %]
342
			   [% IF ( CAN_user_acquisition_order_manage ) %]
342
                        [% IF ( CAN_user_acquisition_order_manage ) %]
343
			    <a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% basketo %]">#[% basketo %]</a>,
343
                            <a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% basketo %]">#[% basketo %]</a>
344
			   [% ELSE %]
344
                            [%- UNLESS loop.last %],[% END %]
345
			    [% basketo %],
345
                        [% ELSE %]
346
			   [% END %]
346
                            [% basketo %]
347
			[% END %]
347
                            [%- UNLESS loop.last %],[% END %]
348
		    [% END %]
348
                        [% END %]
349
		    [% IF ( countorders && countdeletedorders ) %]
349
                    [% END %]
350
		        and
350
                [% END %]
351
		    [% END %]
351
                [% IF ( countorders && countdeletedorders ) %]
352
		    [% IF ( countdeletedorders ) %]
352
                    and
353
                        [% countdeletedorders %] deleted order(s) in basket(s)
353
                [% END %]
354
			[% FOREACH basketdo IN basketsdeletedorders %]
354
                [% IF ( countdeletedorders ) %]
355
			   [% IF ( CAN_user_acquisition_order_manage ) %]
355
                    [% countdeletedorders %] deleted order(s) in basket(s)
356
			    <a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% basketdo %]">#[% basketdo %]</a>,
356
                    [% FOREACH basketdo IN basketsdeletedorders %]
357
			   [% ELSE %]
357
                        [% IF ( CAN_user_acquisition_order_manage ) %]
358
			    [% basketdo %],
358
                            <a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% basketdo %]">#[% basketdo %]</a>
359
			   [% END %]
359
                            [%- UNLESS loop.last %],[% END %]
360
			[% END %]
360
                        [% ELSE %]
361
		    [% END %]
361
                            [% basketdo %]
362
	    </li>
362
                            [%- UNLESS loop.last %],[% END %]
363
                        [% END %]
364
                    [% END %]
365
                [% END %]
366
            </li>
363
        [% END %]
367
        [% END %]
364
        <!--This grabs all of the lists a bib record appears in -->
368
        <!--This grabs all of the lists a bib record appears in -->
365
        [% IF ( GetShelves ) %]
369
        [% IF ( GetShelves ) %]
366
- 

Return to bug 9780