Bug 30568: Correct reference to patron_title in patron-title.inc
In the staff interface we set the class for the patron's title (Mr/Mrs/etc) to "patron_title," but we were making it "patron-title" in the OPAC. This patch standardizes them. Signed-off-by: Sam Sowanick <sam.sowanick@corvallisoregon.gov> Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
164bca6158
commit
11358ffe16
|
|
@ -2,7 +2,7 @@
|
|||
[%- WRAPPER maybe_span field_name = 'surname' -%][%- patron.surname | html -%][%- END -%]
|
||||
[%- IF patron.othernames -%]([%- WRAPPER maybe_span field_name='othernames' -%][%- patron.othernames | html -%][%- END -%])[%- END -%]
|
||||
[%- ELSE -%]
|
||||
[%- WRAPPER maybe_span field_name='patron-title' -%][%- patron.title _ ' ' | html %][% END -%]
|
||||
[%- WRAPPER maybe_span field_name='patron_title' -%][%- patron.title _ ' ' | html %][% END -%]
|
||||
[%- WRAPPER maybe_span field_name='preferred_name' -%][%- patron.preferred_name | html %][% END -%]
|
||||
[%- WRAPPER maybe_span field_name='middle_name' -%][% ' ' _ patron.middle_name | html -%][%- END -%]
|
||||
[%- WRAPPER maybe_span field_name='surname' -%][% ' ' _ patron.surname | html -%][%- END -%]
|
||||
|
|
|
|||
Loading…
Reference in New Issue