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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/authority-information.inc (-63 / +78 lines)
Lines 21-94 Link Here
21
            [% END %]
21
            [% END %]
22
        </li>
22
        </li>
23
    [% CASE 'activity' %]
23
    [% CASE 'activity' %]
24
        <li>
24
        [% IF info.field_of_activity %]
25
            <span>
25
            <li>
26
                Field of activity: [% info.field_of_activity | html %]
26
                <span>
27
                [% IF info.start_period || info.end_period %]
27
                    Field of activity: [% info.field_of_activity | html %]
28
                    (
28
                    [% IF info.start_period || info.end_period %]
29
                    [%~ IF info.start_period %]from: [% info.start_period | html %][% END %]
29
                        (
30
                    [% IF info.end_period %]until: [% info.end_period | html %][% END ~%]
30
                        [%~ IF info.start_period %]from: [% info.start_period | html %][% END %]
31
                    )
31
                        [% IF info.end_period %]until: [% info.end_period | html %][% END ~%]
32
                [% END %]
32
                        )
33
            </span>
33
                    [% END %]
34
        </li>
34
                </span>
35
            </li>
36
        [% END %]
35
    [% CASE 'address' %]
37
    [% CASE 'address' %]
36
        <li>
38
        [% IF info.address %]
37
            <span>Address: [% info.address | html %] [% info.postal_code | html %] [% info.city | html %] [% info.country | html %]</span>
39
            <li>
38
        </li>
40
                <span>Address: [% info.address | html %] [% info.postal_code | html %] [% info.city | html %] [% info.country | html %]</span>
41
            </li>
42
        [% END %]
39
    [% CASE 'associated_group' %]
43
    [% CASE 'associated_group' %]
40
        <li>
44
        [% IF info.associated_group %]
41
            <span>
45
            <li>
42
                Associated group: [% info.associated_group | html %]
46
                <span>
43
                [% IF info.start_period || info.end_period %]
47
                    Associated group: [% info.associated_group | html %]
44
                    (
48
                    [% IF info.start_period || info.end_period %]
45
                    [%~ IF info.start_period %]from: [% info.start_period | html %][% END %]
49
                        (
46
                    [% IF info.end_period %]until: [% info.end_period | html %][% END ~%]
50
                        [%~ IF info.start_period %]from: [% info.start_period | html %][% END %]
47
                    )
51
                        [% IF info.end_period %]until: [% info.end_period | html %][% END ~%]
48
                [% END %]
52
                        )
49
                [% IF info.uri %]<p>URI: [% info.uri | html %]</p>[% END %]
53
                    [% END %]
50
                [% IF info.source_of_information %]<p>Source of information: [% info.source_of_information | html %]</p> [% END %]
54
                    [% IF info.uri %]<p>URI: [% info.uri | html %]</p>[% END %]
51
                [% IF info.authority_record_number %]<p>Authority record control number or standard number: [% info.authority_record_number | html %]</p>[% END %]
55
                    [% IF info.source_of_information %]<p>Source of information: [% info.source_of_information | html %]</p> [% END %]
52
            </span>
56
                    [% IF info.authority_record_number %]<p>Authority record control number or standard number: [% info.authority_record_number | html %]</p>[% END %]
53
        </li>
57
                </span>
58
            </li>
59
        [% END %]
54
    [% CASE 'email_address' %]
60
    [% CASE 'email_address' %]
55
        <li>
61
        [% IF info.email_address %]
56
            <span>
62
            <li>
57
                Email address: [% info.email_address | html %]
63
                <span>
58
            </span>
64
                    Email address: [% info.email_address | html %]
59
        </li>
65
                </span>
66
            </li>
67
        [% END %]
60
    [% CASE 'occupation' %]
68
    [% CASE 'occupation' %]
61
        <li>
69
        [% IF info.occupation %]
62
            <span>
70
            <li>
63
                Occupation: [% info.occupation | html %]
71
                <span>
64
                [% IF info.start_period || info.end_period %]
72
                    Occupation: [% info.occupation | html %]
65
                    (
73
                    [% IF info.start_period || info.end_period %]
66
                    [%~ IF info.start_period %]from: [% info.start_period | html %][% END %]
74
                        (
67
                    [% IF info.end_period %]until: [% info.end_period | html %][% END ~%]
75
                        [%~ IF info.start_period %]from: [% info.start_period | html %][% END %]
68
                    )
76
                        [% IF info.end_period %]until: [% info.end_period | html %][% END ~%]
69
                [% END %]
77
                        )
70
                [% IF info.uri %]<p>URI: [% info.uri | html %]</p>[% END %]
78
                    [% END %]
71
                [% IF info.source_of_information %]<p>Source of information: [% info.source_of_information | html %]</p> [% END %]
79
                    [% IF info.uri %]<p>URI: [% info.uri | html %]</p>[% END %]
72
                [% IF info.authority_record_number %]<p>Authority record control number or standard number: [% info.authority_record_number | html %]</p>[% END %]
80
                    [% IF info.source_of_information %]<p>Source of information: [% info.source_of_information | html %]</p> [% END %]
73
            </span>
81
                    [% IF info.authority_record_number %]<p>Authority record control number or standard number: [% info.authority_record_number | html %]</p>[% END %]
74
        </li>
82
                </span>
83
            </li>
84
        [% END %]
75
    [% CASE 'place_of_birth' %]
85
    [% CASE 'place_of_birth' %]
76
        <li>
86
        [% IF info.place_of_birth %]
77
            <span>
87
            <li>
78
                Place of birth: [% info.place_of_birth | html %]
88
                <span>
79
            </span>
89
                    Place of birth: [% info.place_of_birth | html %]
80
        </li>
90
                </span>
91
            </li>
92
        [% END %]
81
    [% CASE 'place_of_death' %]
93
    [% CASE 'place_of_death' %]
82
        <li>
94
        [% IF info.place_of_death %]
83
            <span>
95
            <li>
84
                Place of death: [% info.place_of_death | html %]
96
                <span>
85
            </span>
97
                    Place of death: [% info.place_of_death | html %]
86
        </li>
98
                </span>
99
            </li>
100
        [% END %]
87
    [% CASE 'uri' %]
101
    [% CASE 'uri' %]
88
        <li>
102
        [% IF info.uri %]
89
            <span>
103
            <li>
90
                URI: [% info.uri | $raw | html %]
104
                <span>
91
            </span>
105
                    URI: [% info.uri | $raw | html %]
92
        </li>
106
                </span>
107
            </li>
108
        [% END %]
93
    [% END %]
109
    [% END %]
94
[% END %]
110
[% END %]
95
- 

Return to bug 29948