[% l("Name") %] |
[% l(
HUMAN_NAME_FORMAT,
ctx.user.prefix, ctx.user.first_given_name,
ctx.user.second_given_name, ctx.user.family_name,
ctx.user.suffix
) | html %] |
|
[% l("Day Phone") %] |
[% ctx.user.day_phone | html %] |
|
[% l("Evening Phone") %] |
[% ctx.user.evening_phone | html %] |
|
[% l("Other Phone") %] |
[% ctx.user.other_phone | html %] |
|
[% l("Username") %]
|
[% ctx.user.usrname | html %] |
[%- IF ctx.username_change_disallowed %]
|
[%- ELSE %]
[% l("Change") %] |
[%- END %]
[% l("Password") %] |
[% l("(not shown)") %] |
[%- IF disable_password_change == 'true' %]
|
[%- ELSE %]
[% l("Change") %] |
[%- END %]
[% l("Email Address") %] |
[% ctx.user.email | html %] |
[%- IF disable_email_change == 'true' %]
|
[%- ELSE %]
[% l('Change') %] |
[%- END %]
[% IF ctx.user.ident_value %]
[% l("Primary Identification") %] |
[%
# l('[_1] ([_2])', ctx.user.ident_value, ctx.user.ident_type.name) | html
# XXX uncomment the above line to show primary
# identification. With a minor tweak it could
# alternatively be shown but partially obscured.
%]
|
|
[% END %]
[% l("Active Barcode") %] |
[% ctx.user.card.barcode %] |
|
[% l("Home Library") %] |
[% ctx.user.home_ou.name | html %] |
|
[% l("Account Creation Date") %] |
[% date.format(ctx.parse_datetime(ctx.user.create_date), DATE_FORMAT) %] |
|
[% l("Account Expiration Date") %] |
[%- IF date.format(ctx.parse_datetime(ctx.user.expire_date), '%s') < date.format(date.now , '%s'); -%]
[% date.format(ctx.parse_datetime(ctx.user.expire_date), DATE_FORMAT) %]
|
[% ELSE %]
[% date.format(ctx.parse_datetime(ctx.user.expire_date), DATE_FORMAT) %]
[% END %]
|