From: Jason Boyer Date: Fri, 4 Sep 2020 12:13:55 +0000 (-0400) Subject: LP 1884657 Followup X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=d16aa71b41245a01bcaaf5d9a335574eb2472602;p=working%2FEvergreen.git LP 1884657 Followup Run all of the display data through the 'html' filter and change the email into a live link. Signed-off-by: Jason Boyer --- diff --git a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm index 4065e24b77..590c5c2643 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm @@ -32,7 +32,7 @@ sub prepare_extended_user_info { $self->ctx->{user} = $self->editor->retrieve_actor_user([ $self->ctx->{user}->id, { - flesh => 2, + flesh => 1, flesh_fields => { au => [qw/card home_ou addresses ident_type billing_address waiver_entries/, @extra_flesh], "aou" => ["billing_address"] diff --git a/Open-ILS/src/templates/opac/myopac/prefs.tt2 b/Open-ILS/src/templates/opac/myopac/prefs.tt2 index b30f3748cf..f2444fa00b 100644 --- a/Open-ILS/src/templates/opac/myopac/prefs.tt2 +++ b/Open-ILS/src/templates/opac/myopac/prefs.tt2 @@ -118,20 +118,20 @@ [% l("Home Library") %] - [% ctx.get_aou(ctx.user.home_ou.parent_ou).name %]
+ [% ctx.get_aou(ctx.user.home_ou.parent_ou).name | html %]
[% ctx.user.home_ou.name | html %]
- [% ctx.user.home_ou.billing_address.street1 %]
- [% IF ctx.user.home_ou.billing_address.street2; ctx.user.home_ou.billing_address.street2 _ "
"; END %] - [% ctx.user.home_ou.billing_address.city %], [% ctx.user.home_ou.billing_address.state %] - [% ctx.user.home_ou.billing_address.post_code %]
+ [% ctx.user.home_ou.billing_address.street1 | html %]
+ [% IF ctx.user.home_ou.billing_address.street2; ctx.user.home_ou.billing_address.street2 | html; "
"; END %] + [% ctx.user.home_ou.billing_address.city | html %], [% ctx.user.home_ou.billing_address.state | html %] + [% ctx.user.home_ou.billing_address.post_code | html %]

- [% IF ctx.user.home_ou.phone; ctx.user.home_ou.phone _ "
"; END %] + [% IF ctx.user.home_ou.phone; ctx.user.home_ou.phone | html; "
"; END %] - [% IF ctx.user.home_ou.email; ctx.user.home_ou.email _ "
"; END %] + [% IF ctx.user.home_ou.email; ''; ctx.user.home_ou.email | html; "
"; END %] [% lib_url = ctx.get_org_setting(ctx.user.home_ou.id, 'lib.info_url'); IF lib_url; - ''; lib_url; ''; + ''; lib_url | html; ''; END; %]