Lines 1-3
Link Here
|
|
|
1 |
[% USE raw %] |
2 |
[% USE Koha %] |
3 |
[% PROCESS 'i18n.inc' %] |
1 |
[% FOREACH info IN information %] |
4 |
[% FOREACH info IN information %] |
2 |
[% SWITCH info_type %] |
5 |
[% SWITCH info_type %] |
3 |
[% CASE 'identifiers' %] |
6 |
[% CASE 'identifiers' %] |
Lines 29-105
Link Here
|
29 |
[% CASE 'activity' %] |
32 |
[% CASE 'activity' %] |
30 |
[% IF info.field_of_activity %] |
33 |
[% IF info.field_of_activity %] |
31 |
<li> |
34 |
<li> |
32 |
<span> |
35 |
<span>Field of activity: </span> |
33 |
Field of activity: [% info.field_of_activity | html %] |
36 |
[% info.field_of_activity | html %] |
34 |
[% IF info.start_period || info.end_period %] |
37 |
[% IF info.start_period || info.end_period %] |
35 |
( [%~ IF info.start_period %]from: [% info.start_period | html %][% END %] |
38 |
( |
36 |
[% IF info.end_period %]until: [% info.end_period | html %][% END ~%] |
39 |
[%~ IF info.start_period %] |
37 |
) |
40 |
[% tp('A period starting from', 'From: ') | html %] |
|
|
41 |
[% info.start_period | html %] |
38 |
[% END %] |
42 |
[% END %] |
39 |
</span> |
43 |
[% IF info.end_period %] |
|
|
44 |
[% tp('A period ending', 'Until: ') | html %] |
45 |
[% info.end_period | html %] |
46 |
[% END ~%] |
47 |
) |
48 |
[% END %] |
40 |
</li> |
49 |
</li> |
41 |
[% END %] |
50 |
[% END %] |
42 |
[% CASE 'address' %] |
51 |
[% CASE 'address' %] |
43 |
[% IF info.address %] |
52 |
[% IF info.address %] |
44 |
<li> |
53 |
<li> |
45 |
<span>Address: [% info.address | html %] [% info.postal_code | html %] [% info.city | html %] [% info.country | html %]</span> |
54 |
<span>Address: </span> |
|
|
55 |
[% info.address | html %] [% info.postal_code | html %] [% info.city | html %] [% info.country | html %] |
46 |
</li> |
56 |
</li> |
47 |
[% END %] |
57 |
[% END %] |
48 |
[% CASE 'associated_group' %] |
58 |
[% CASE 'associated_group' %] |
49 |
[% IF info.associated_group %] |
59 |
[% IF info.associated_group %] |
50 |
<li> |
60 |
<li> |
51 |
<span> |
61 |
<span>Associated group:</span> |
52 |
Associated group: [% info.associated_group | html %] |
62 |
[% info.associated_group | html %] |
53 |
[% IF info.start_period || info.end_period %] |
63 |
[% IF info.start_period || info.end_period %] |
54 |
( [%~ IF info.start_period %]from: [% info.start_period | html %][% END %] |
64 |
( |
55 |
[% IF info.end_period %]until: [% info.end_period | html %][% END ~%] |
65 |
[%~ IF info.start_period %] |
56 |
) |
66 |
[% tp('A period starting from', 'From: ') | html %] |
|
|
67 |
[% info.start_period | html %] |
57 |
[% END %] |
68 |
[% END %] |
58 |
[% IF info.uri %]<p style="margin-bottom: 0;">URI: [% info.uri | html %]</p>[% END %] |
69 |
[% IF info.end_period %] |
59 |
[% IF info.source_of_information %]<p style="margin-bottom: 0;">Source of information: [% info.source_of_information | html %]</p>[% END %] |
70 |
[% tp('A period ending', 'Until: ') | html %] |
60 |
[% IF info.authority_record_number %]<p style="margin-bottom: 0;">Authority record control number or standard number: [% info.authority_record_number | html %]</p>[% END %] |
71 |
[% info.end_period | html %] |
61 |
</span> |
72 |
[% END %] |
|
|
73 |
) |
74 |
[% END %] |
75 |
[% IF info.uri %] |
76 |
<p style="margin-bottom: 0;"><span>URI: </span>[% info.uri | html %]</p> |
77 |
[% END %] |
78 |
[% IF info.source_of_information %] |
79 |
<p style="margin-bottom: 0;"><span>Source of information: </span>[% info.source_of_information | html %]</p> |
80 |
[% END %] |
81 |
[% IF info.authority_record_number %] |
82 |
<p style="margin-bottom: 0;"><span>Authority record control number or standard number: </span>[% info.authority_record_number | html %]</p> |
83 |
[% END %] |
62 |
</li> |
84 |
</li> |
63 |
[% END %] |
85 |
[% END %] |
64 |
[% CASE 'email_address' %] |
86 |
[% CASE 'email_address' %] |
65 |
[% IF info.email_address %] |
87 |
[% IF info.email_address %] |
66 |
<li> |
88 |
<li> <span>Email address: </span> [% info.email_address | html %] </li> |
67 |
<span> Email address: [% info.email_address | html %] </span> |
|
|
68 |
</li> |
69 |
[% END %] |
89 |
[% END %] |
70 |
[% CASE 'occupation' %] |
90 |
[% CASE 'occupation' %] |
71 |
[% IF info.occupation %] |
91 |
[% IF info.occupation %] |
72 |
<li> |
92 |
<li> |
73 |
<span> |
93 |
<span>Occupation: </span> |
74 |
Occupation: [% info.occupation | html %] |
94 |
[% info.occupation | html %] |
75 |
[% IF info.start_period || info.end_period %] |
95 |
[% IF info.start_period || info.end_period %] |
76 |
( [%~ IF info.start_period %]from: [% info.start_period | html %][% END %] |
96 |
( |
77 |
[% IF info.end_period %]until: [% info.end_period | html %][% END ~%] |
97 |
[%~ IF info.start_period %] |
78 |
) |
98 |
[% tp('A period starting from', 'From: ') | html %] |
|
|
99 |
[% info.start_period | html %] |
79 |
[% END %] |
100 |
[% END %] |
80 |
[% IF info.uri %]<p style="margin-bottom: 0;">URI: [% info.uri | html %]</p>[% END %] |
101 |
[% IF info.end_period %] |
81 |
[% IF info.source_of_information %]<p style="margin-bottom: 0;">Source of information: [% info.source_of_information | html %]</p>[% END %] |
102 |
[% tp('A period ending', 'Until: ') | html %] |
82 |
[% IF info.authority_record_number %]<p style="margin-bottom: 0;">Authority record control number or standard number: [% info.authority_record_number | html %]</p>[% END %] |
103 |
[% info.end_period | html %] |
83 |
</span> |
104 |
[% END ~%] |
|
|
105 |
) |
106 |
[% END %] |
107 |
[% IF info.uri %] |
108 |
<p style="margin-bottom: 0;"><span>URI: </span>[% info.uri | html %]</p> |
109 |
[% END %] |
110 |
[% IF info.source_of_information %] |
111 |
<p style="margin-bottom: 0;"><span>Source of information: </span>[% info.source_of_information | html %]</p> |
112 |
[% END %] |
113 |
[% IF info.authority_record_number %] |
114 |
<p style="margin-bottom: 0;"><span>Authority record control number or standard number: </span>[% info.authority_record_number | html %]</p> |
115 |
[% END %] |
84 |
</li> |
116 |
</li> |
85 |
[% END %] |
117 |
[% END %] |
86 |
[% CASE 'place_of_birth' %] |
118 |
[% CASE 'place_of_birth' %] |
87 |
[% IF info.place_of_birth %] |
119 |
[% IF info.place_of_birth %] |
88 |
<li> |
120 |
<li> <span>Place of birth: </span>[% info.place_of_birth | html %] </li> |
89 |
<span> Place of birth: [% info.place_of_birth | html %] </span> |
|
|
90 |
</li> |
91 |
[% END %] |
121 |
[% END %] |
92 |
[% CASE 'place_of_death' %] |
122 |
[% CASE 'place_of_death' %] |
93 |
[% IF info.place_of_death %] |
123 |
[% IF info.place_of_death %] |
94 |
<li> |
124 |
<li> <span>Place of death: </span>[% info.place_of_death | html %] </li> |
95 |
<span> Place of death: [% info.place_of_death | html %] </span> |
|
|
96 |
</li> |
97 |
[% END %] |
125 |
[% END %] |
98 |
[% CASE 'uri' %] |
126 |
[% CASE 'uri' %] |
99 |
[% IF info.uri %] |
127 |
[% IF info.uri %] |
100 |
<li> |
128 |
<li> <span>URI: </span>[% info.uri | $raw | html %] </li> |
101 |
<span> URI: [% info.uri | $raw | html %] </span> |
|
|
102 |
</li> |
103 |
[% END %] |
129 |
[% END %] |
104 |
[% END %] |
130 |
[% END %] |
105 |
[% END %] |
131 |
[% END %] |
106 |
- |
|
|