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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt (-18 / +19 lines)
Lines 33-41 Link Here
33
[% INCLUDE 'doc-head-open.inc' %]
33
[% INCLUDE 'doc-head-open.inc' %]
34
<title>Koha &rsaquo; Catalog &rsaquo;
34
<title>Koha &rsaquo; Catalog &rsaquo;
35
  [% IF ( unknownbiblionumber ) %]
35
  [% IF ( unknownbiblionumber ) %]
36
    Unknown record
36
    <span class="unknownrecord">Unknown record</span>
37
  [% ELSE %]
37
  [% ELSE %]
38
    Details for [% INCLUDE 'biblio-title-head.inc' %]
38
    <span class="titledetails">Details for [% INCLUDE 'biblio-title-head.inc' %]</span>
39
  [% END %]
39
  [% END %]
40
</title>
40
</title>
41
[% INCLUDE 'doc-head-close.inc' %]
41
[% INCLUDE 'doc-head-close.inc' %]
Lines 48-56 Link Here
48
48
49
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a>  &rsaquo;
49
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a>  &rsaquo;
50
  [% IF ( unknownbiblionumber ) %]
50
  [% IF ( unknownbiblionumber ) %]
51
    Unknown record
51
    <span class="unknownrecord">Unknown record</span>
52
  [% ELSE %]
52
  [% ELSE %]
53
    Details for <i>[% INCLUDE 'biblio-title.inc' %]</i>
53
    <span class="titledetails">Details for <i>[% INCLUDE 'biblio-title.inc' %]</i></span>
54
  [% END %]
54
  [% END %]
55
</div>
55
</div>
56
56
Lines 71-78 Link Here
71
[% INCLUDE 'cat-toolbar.inc' %]
71
[% INCLUDE 'cat-toolbar.inc' %]
72
    [% IF decoding_error %]
72
    [% IF decoding_error %]
73
        <div>
73
        <div>
74
            There is an error with this bibliographic record, the view may be degraded.
74
           <span class="biberror">
75
            <br/> Error: [% decoding_error | html %]
75
            There is an error with this bibliographic record, the view may be degraded.</span>
76
            <span class="error"><br/> Error: [% decoding_error | html %]</span>
76
        </div>
77
        </div>
77
    [% END %]
78
    [% END %]
78
    [% IF ( ocoins ) %]
79
    [% IF ( ocoins ) %]
Lines 268-279 Link Here
268
                            [% IF !noItemTypeImages && item.imageurl %]
269
                            [% IF !noItemTypeImages && item.imageurl %]
269
                                <img src="[% item.imageurl | html %]" alt="[% item.translated_description | html %]" title="[% item.translated_description | html %]" />
270
                                <img src="[% item.imageurl | html %]" alt="[% item.translated_description | html %]" title="[% item.translated_description | html %]" />
270
                            [% END %]
271
                            [% END %]
271
                            [% item.translated_description | html %]
272
                            <span class="itypedesc">[% item.translated_description | html %]</span>
272
                        </td>
273
                        </td>
273
                    [% END %]
274
                    [% END %]
274
                    <td class="location">[% UNLESS ( singlebranchmode ) %][% Branches.GetName( item.branchcode ) | html %] [% END %]</td>
275
                    <td class="location">[% UNLESS ( singlebranchmode ) %][% Branches.GetName( item.branchcode ) | html %] [% END %]</td>
275
                    <td class="homebranch">
276
                    <td class="homebranch">
276
                        [% Branches.GetName(item.homebranch) | html %]
277
                        <span class="homebranchdesc">[% Branches.GetName(item.homebranch) | html %]</span>
277
                        <span class="shelvingloc">
278
                        <span class="shelvingloc">
278
<!--
279
<!--
279
If permanent location is defined, show description or code and display current location in parentheses. If not, display current location.
280
If permanent location is defined, show description or code and display current location in parentheses. If not, display current location.
Lines 373-398 Note that permanent location is a code, and location may be an authval. Link Here
373
                        [% END %]
374
                        [% END %]
374
375
375
                        [% IF ( item.itemnotforloan || item.notforloan_per_itemtype ) %]
376
                        [% IF ( item.itemnotforloan || item.notforloan_per_itemtype ) %]
376
                            Not for loan
377
                            <span class="noteforloan">Not for loan
377
                            [% IF ( item.notforloanvalue ) %]
378
                            [% IF ( item.notforloanvalue ) %]
378
                                ([% item.notforloanvalue | html %])
379
                                <span class="reason">([% item.notforloanvalue | html %])</span>
379
                            [% END %]
380
                            [% END %]
381
                            </span>
380
                        [% END %]
382
                        [% END %]
381
383
382
                        [% SET hold = item.first_hold %]
384
                        [% SET hold = item.first_hold %]
383
                        [% IF hold %]
385
                        [% IF hold %]
384
                            [% IF hold.waitingdate %]
386
                            [% IF hold.waitingdate %]
385
                                Waiting at [% Branches.GetName( hold.branchcode ) | html %] since [% hold.waitingdate | $KohaDates %].
387
                                <span class="waitingat">Waiting at [% Branches.GetName( hold.branchcode ) | html %] since [% hold.waitingdate | $KohaDates %].</span>
386
                                [% IF canreservefromotherbranches AND ( hold.waitingdate OR hold.priority == 1 ) %]
388
                                [% IF canreservefromotherbranches AND ( hold.waitingdate OR hold.priority == 1 ) %]
387
                                    Hold for:
389
                                    <span class="heldfor">Hold for:</span>
388
                                    [% INCLUDE 'patron-title.inc' patron=hold.borrower hide_patron_infos_if_needed=1 %]
390
                                    [% INCLUDE 'patron-title.inc' patron=hold.borrower hide_patron_infos_if_needed=1 %]
389
                                [% END %]
391
                                [% END %]
390
                            [% ELSE %]
392
                            [% ELSE %]
391
                                There is an item level hold on this item (priority = [% hold.priority | html %]).
393
                                <span class="holdonitem">There is an item level hold on this item (priority = [% hold.priority | html %]).</span>
392
                            [% END %]
394
                            [% END %]
393
                        [% END %]
395
                        [% END %]
394
                        [% UNLESS ( item.itemnotforloan || item.notforloan_per_itemtype || item.onloan || item.itemlost || item.withdrawn || item.damaged || item.transfertwhen || hold ) %]
396
                        [% UNLESS ( item.itemnotforloan || item.notforloan_per_itemtype || item.onloan || item.itemlost || item.withdrawn || item.damaged || item.transfertwhen || hold ) %]
395
                            Available
397
                            <span class="available">Available</span>
396
                        [% END %]
398
                        [% END %]
397
399
398
                        [% IF ( item.restricted ) %]
400
                        [% IF ( item.restricted ) %]
Lines 528-534 Note that permanent location is a code, and location may be an authval. Link Here
528
        [% IF (otheritemloop.size) %]
530
        [% IF (otheritemloop.size) %]
529
            [% PROCESS items_table tab="otherholdings" items=otheritemloop %]
531
            [% PROCESS items_table tab="otherholdings" items=otheritemloop %]
530
        [% ELSE %]
532
        [% ELSE %]
531
            No other items.
533
            <span class="nootheritems">No other items.</span>
532
        [% END %]
534
        [% END %]
533
    </div>
535
    </div>
534
[% END %]
536
[% END %]
Lines 696-702 Note that permanent location is a code, and location may be an authval. Link Here
696
      </tbody>
698
      </tbody>
697
    </table>
699
    </table>
698
  [% ELSE %]
700
  [% ELSE %]
699
    There is no order for this biblio.
701
    <span class="noorder">There is no order for this biblio.</span>
700
  [% END %]
702
  [% END %]
701
</div>
703
</div>
702
[% END %]
704
[% END %]
Lines 807-813 Note that permanent location is a code, and location may be an authval. Link Here
807
                [% END %]
809
                [% END %]
808
            </ul>
810
            </ul>
809
        [% ELSE # - No image passed JavaScript takes care %]
811
        [% ELSE # - No image passed JavaScript takes care %]
810
            No images have been uploaded for this bibliographic record yet.
812
            <span class="noimagesuploaded">No images have been uploaded for this bibliographic record yet.</span>
811
        [% END %]
813
        [% END %]
812
        [% IF ( CAN_user_tools_upload_local_cover_images ) %]
814
        [% IF ( CAN_user_tools_upload_local_cover_images ) %]
813
            <p>Upload an image file: <a class="btn btn-default btn-xs" href="/cgi-bin/koha/tools/upload-cover-image.pl?biblionumber=[% biblionumber | uri %]&amp;filetype=image"><i class="fa fa-upload" aria-hidden="true"></i> Upload</a>
815
            <p>Upload an image file: <a class="btn btn-default btn-xs" href="/cgi-bin/koha/tools/upload-cover-image.pl?biblionumber=[% biblionumber | uri %]&amp;filetype=image"><i class="fa fa-upload" aria-hidden="true"></i> Upload</a>
814
- 

Return to bug 12093