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

(-)a/koha-tmpl/opac-tmpl/bootstrap/css/opac.css (+3 lines)
Lines 2237-2242 td img { Link Here
2237
  -moz-box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.2);
2237
  -moz-box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.2);
2238
  box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.2);
2238
  box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.2);
2239
}
2239
}
2240
a.OpenURL img {
2241
    vertical-align: middle;
2242
}
2240
@media only screen and (min-width: 0px) and (max-width: 304px) {
2243
@media only screen and (min-width: 0px) and (max-width: 304px) {
2241
  /* Screens bewteen 0 and 304 pixels wide */
2244
  /* Screens bewteen 0 and 304 pixels wide */
2242
  #oh:after {
2245
  #oh:after {
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt (+21 lines)
Lines 332-337 Link Here
332
                                </ul>
332
                                </ul>
333
                            </div>
333
                            </div>
334
                        [% END # / IF MARCURLS %]
334
                        [% END # / IF MARCURLS %]
335
336
                        [% IF (OPACShowOpenURL && OpenURLResolverURL && ocoins) %]
337
                            [%# Build OpenURL image location %]
338
                            [% IF (OpenURLImageLocation && !OpenURLImageLocation.match('^https?://')) %]
339
                                [% openurlimagelocation = "$interface/$theme/images/$OpenURLImageLocation" %]
340
                            [% ELSE %]
341
                                [% openurlimagelocation = "$OpenURLImageLocation" %]
342
                            [% END %]
343
344
                            <span class="results_summary">
345
                                <a class="OpenURL" href="[% OpenURLResolverURL %]?[% ocoins %]" title="[% OpenURLText %]">
346
                                [% IF openurlimagelocation %]
347
                                    <img src="[% openurlimagelocation %]" />
348
                                [% ELSIF OpenURLText %]
349
                                    [% OpenURLText %]
350
                                [% ELSE %]
351
                                    OpenURL
352
                                [% END %]
353
                                </a>
354
                            </span>
355
                        [% END # / IF (OPACShowOpenURL && OpenURLResolverURL && ocoins) %]
335
                    [% END # / IF OPACXSLTDetailsDisplay %]
356
                    [% END # / IF OPACXSLTDetailsDisplay %]
336
357
337
                    [% IF ( AuthorisedValueImages && authorised_value_images ) %]
358
                    [% IF ( AuthorisedValueImages && authorised_value_images ) %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt (-1 / +17 lines)
Lines 167-172 Link Here
167
167
168
                                <!-- TABLE RESULTS START -->
168
                                <!-- TABLE RESULTS START -->
169
                                <table class="table table-striped">
169
                                <table class="table table-striped">
170
                                    [%# Build OpenURL image location %]
171
                                    [% IF (OpenURLImageLocation && !OpenURLImageLocation.match('^https?://')) %]
172
                                        [% openurlimagelocation = "$interface/$theme/images/$OpenURLImageLocation" %]
173
                                    [% ELSE %]
174
                                        [% openurlimagelocation = "$OpenURLImageLocation" %]
175
                                    [% END %]
170
176
171
                                    <!-- Actual Search Results -->
177
                                    <!-- Actual Search Results -->
172
                                    [% FOREACH SEARCH_RESULT IN SEARCH_RESULTS %]
178
                                    [% FOREACH SEARCH_RESULT IN SEARCH_RESULTS %]
Lines 314-319 Link Here
314
                                                    [% ELSE %]
320
                                                    [% ELSE %]
315
                                                        &nbsp;
321
                                                        &nbsp;
316
                                                    [% END %]
322
                                                    [% END %]
323
                                                    [% IF (SEARCH_RESULT.ShowOpenURL && OpenURLResolverURL && SEARCH_RESULT.coins) %]
324
                                                        <a class="OpenURL" href="[% OpenURLResolverURL %]?[% SEARCH_RESULT.coins %]" title="[% OpenURLText %]">
325
                                                        [% IF openurlimagelocation %]
326
                                                            <img src="[% openurlimagelocation %]" />
327
                                                        [% ELSIF OpenURLText %]
328
                                                            [% OpenURLText %]
329
                                                        [% ELSE %]
330
                                                            OpenURL
331
                                                        [% END %]
332
                                                        </a>
333
                                                    [% END %]
317
334
318
                                                    <span class="results_summary publisher">
335
                                                    <span class="results_summary publisher">
319
                                                        <span class="label">Publication:</span>
336
                                                        <span class="label">Publication:</span>
320
- 

Return to bug 8995