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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/biblio-title.inc (-3 / +6 lines)
Lines 1-11 Link Here
1
[%- IF link && ! biblio %][% link = 0 %][% END %]
1
[%- IF ( link ) -%]
2
[%- IF ( link ) -%]
2
    <a href="[%- PROCESS biblio_a_href biblionumber => biblio.biblionumber -%]" class="title">
3
    <a href="[%- PROCESS biblio_a_href biblionumber => biblio.biblionumber -%]" class="title">
3
[%- END -%]
4
[%- END -%]
4
5
5
[%- IF ( biblio.title ) -%]
6
[%- IF !biblio -%]
6
    <span class="biblio-title">[%- biblio.title | html -%]</span>
7
    No bibliographic record
8
[%- ELSIF !biblio.title -%]
9
    No title
7
[%- ELSE -%]
10
[%- ELSE -%]
8
    <span>No title</span>
11
    <span class="biblio-title">[% biblio.title | html %]</span>
9
[%- END -%]
12
[%- END -%]
10
[%- IF ( biblio.medium ) -%]
13
[%- IF ( biblio.medium ) -%]
11
    <span class="biblio-medium">[%- biblio.medium | html -%]</span>
14
    <span class="biblio-medium">[%- biblio.medium | html -%]</span>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/biblio-title.inc (-5 / +7 lines)
Lines 1-12 Link Here
1
[%- IF link && ! biblio %][% link = 0 %][% END %]
1
[% IF ( link ) %]
2
[% IF ( link ) %]
2
    <a href="[% PROCESS biblio_a_href biblionumber => biblio.biblionumber %]" class="title">
3
    <a href="[% PROCESS biblio_a_href biblionumber => biblio.biblionumber %]" class="title">
3
[% END %]
4
[% END %]
4
5
5
[% IF ( biblio.title ) %]
6
[%- IF !biblio -%]
6
    <span class="biblio-title">[% biblio.title | html %]</span>
7
    No bibliographic record
7
[% ELSE %]
8
[%- ELSIF !biblio.title -%]
8
    No title
9
    No title
9
[% END %]
10
[%- ELSE -%]
11
    <span class="biblio-title">[% biblio.title | html %]</span>
12
[%- END -%]
10
[% FOREACH subtitle IN biblio.subtitle.split(' \| ') %][% IF Koha.Preference('marcflavour')=='UNIMARC' %],[% END %]
13
[% FOREACH subtitle IN biblio.subtitle.split(' \| ') %][% IF Koha.Preference('marcflavour')=='UNIMARC' %],[% END %]
11
    <span class="subtitle">[% subtitle | html %]</span>
14
    <span class="subtitle">[% subtitle | html %]</span>
12
[% END %]
15
[% END %]
13
- 

Return to bug 33946