|
Lines 76-83
Link Here
|
| 76 |
([%- WRAPPER maybe_span field_name='othernames' -%][%- data.othernames | html -%][%- END -%]) |
76 |
([%- WRAPPER maybe_span field_name='othernames' -%][%- data.othernames | html -%][%- END -%]) |
| 77 |
[%- END -%] |
77 |
[%- END -%] |
| 78 |
[%- ELSE -%] |
78 |
[%- ELSE -%] |
| 79 |
[%- UNLESS no_title %][%- WRAPPER maybe_span field_name='patron_title' -%][%- data.title _ ' ' | html -%][%- END -%][%- END -%] |
79 |
[%- IF (data.title) %][%- WRAPPER maybe_span field_name='patron_title' -%][%- data.title _ ' ' | html -%][%- END -%][%- END -%] |
| 80 |
[%- WRAPPER maybe_span field_name='preferred_name' -%][%- data.preferred_name | html %][% END -%] |
80 |
[%- IF data.preferred_name -%][%- WRAPPER maybe_span field_name='preferred_name' -%][%- data.preferred_name | html %][% END -%][% END -%] |
|
|
81 |
[%- IF !(data.preferred_name) -%] |
| 82 |
[%- WRAPPER maybe_span field_name = 'firstname' -%][%- data.firstname |html %][% END -%] |
| 83 |
[%- END -%] |
| 81 |
[%- IF data.middle_name -%][%- WRAPPER maybe_span field_name='middle_name' -%][% ' ' _ data.middle_name | html -%][%- END -%][%- END -%] |
84 |
[%- IF data.middle_name -%][%- WRAPPER maybe_span field_name='middle_name' -%][% ' ' _ data.middle_name | html -%][%- END -%][%- END -%] |
| 82 |
[%- IF data.othernames -%] |
85 |
[%- IF data.othernames -%] |
| 83 |
[%- WRAPPER maybe_span field_name='othernames' -%][%- ' (' _ data.othernames _ ')' | html -%][%- END -%] |
86 |
[%- WRAPPER maybe_span field_name='othernames' -%][%- ' (' _ data.othernames _ ')' | html -%][%- END -%] |