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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt (-16 / +44 lines)
Lines 426-447 Link Here
426
                                                        </td>
426
                                                        </td>
427
                                                    [% END %]
427
                                                    [% END %]
428
                                                    <td>
428
                                                    <td>
429
                                                        <p>
429
                                                        <label for="id[% suggestion.suggestionid | html %]">
430
                                                            <label for="id[% suggestions_loo.suggestionid | html %]">
430
                                                            [% IF suggestion.biblionumber %]
431
                                                                [% IF suggestion.biblionumber %]
431
                                                                <strong><a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% suggestion.biblionumber | uri %]">[% suggestion.title | html %]</a></strong>
432
                                                                    <strong><a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% suggestion.biblionumber | uri %]">[% suggestion.title | html %]</a></strong>
432
                                                            [% ELSE %]
433
                                                                [% ELSE %]
433
                                                                <strong>[% suggestion.title | html %]</strong>
434
                                                                    <strong>[% suggestion.title | html %]</strong>
434
                                                            [% END %]
435
                                                        </label>
436
                                                        [% IF ( suggestion.author ) %]
437
                                                            <span class="results_summary">
438
                                                                <span class="label">Author:</span>
439
                                                                [% suggestion.author | html %]
440
                                                            </span>
441
                                                        [% END %]
442
                                                        [% IF ( suggestion.publishercode || suggestion.place || suggestion.copyrightdate ) %]
443
                                                            <span class="results_summary">
444
                                                                <span class="label">Publication details:</span>
445
                                                                [% IF ( suggestion.publishercode ) %]
446
                                                                    [% suggestion.publishercode | html %]
447
                                                                [% END %]
448
                                                                [% IF ( suggestion.place ) %]
449
                                                                    ([% suggestion.place | html %])
450
                                                                [% END %]
451
                                                                [% IF ( suggestion.copyrightdate ) %]
452
                                                                    [% suggestion.copyrightdate | html %]
435
                                                                [% END %]
453
                                                                [% END %]
436
                                                            </label>
454
                                                            </span>
437
                                                        </p>
455
                                                        [% END %]
438
                                                            <p>[% IF ( suggestion.author ) %][% suggestion.author | html %],[% END %]
456
                                                        [% IF ( suggestion.collectiontitle ) %]
439
                                                                [% IF ( suggestion.copyrightdate ) %] - [% suggestion.copyrightdate | html %],[% END %]
457
                                                            <span class="results_summary">
440
                                                                [% IF ( suggestion.publishercode ) %] - [% suggestion.publishercode | html %][% END %]
458
                                                                <span class="label">Collection:</span>
441
                                                                [% IF ( suggestion.place ) %]([% suggestion.place | html %])[% END %]
459
                                                                [% suggestion.collectiontitle | html %]
442
                                                                [% IF ( suggestion.collectiontitle ) %] , [% suggestion.collectiontitle | html %][% END %]
460
                                                            </span>
443
                                                                [% IF ( suggestion.itemtype ) %] - [% AuthorisedValues.GetByCode( 'SUGGEST_FORMAT', suggestion.itemtype, 1 ) | html %][% END %]
461
                                                        [% END %]
444
                                                        </p>
462
                                                        [% IF ( suggestion.itemtype ) %]
463
                                                            <span class="results_summary">
464
                                                                <span class="label">Item type:</span>
465
                                                                [% AuthorisedValues.GetByCode( 'SUGGEST_FORMAT', suggestion.itemtype, 1 ) | html %]
466
                                                            </span>
467
                                                        [% END %]
468
                                                        [% IF ( suggestion.isbn ) %]
469
                                                            <span class="results_summary">
470
                                                                <span class="label">ISBN:</span>
471
                                                                [% suggestion.isbn | html %]
472
                                                            </span>
473
                                                        [% END %]
445
                                                    </td>
474
                                                    </td>
446
                                                    <td data-order="[% suggestion.suggesteddate | html %]">
475
                                                    <td data-order="[% suggestion.suggesteddate | html %]">
447
                                                        [% IF ( suggestion.suggesteddate ) %][% suggestion.suggesteddate |$KohaDates %][% END %]
476
                                                        [% IF ( suggestion.suggesteddate ) %][% suggestion.suggesteddate |$KohaDates %][% END %]
448
- 

Return to bug 36044