<div class="flex-cell"
ng-class="{'patron-summary-alert' : hasAlerts()}">
[% l('[_1] [_2], [_3] [_4] [_5]',
- '{{patron().prefix()}}',
- '{{patron().family_name()}}',
- '{{patron().first_given_name()}}',
- '{{patron().second_given_name()}}',
- '{{patron().suffix()}}') %]
+ '{{patron().pref_prefix() || patron().prefix()}}',
+ '{{patron().pref_family_name() || patron().family_name()}}',
+ '{{patron().pref_first_given_name() || patron().first_given_name()}}',
+ '{{patron().pref_second_given_name() || patron().second_given_name()}}',
+ '{{patron().pref_suffix() || patron().suffix()}}') %]
<span ng-if="patron().name_keywords()"> <a title="[% l('Name keywords: ') %]{{patron().name_keywords()}}" class="glyphicon glyphicon-tags"></a>
</div>
<div ng-cloak class="patron-summary-grid-wrapper">
<div ng-show="patron()" id="patron-summary-grid">
- <div class="row patron-summary-pref-name"
- ng-if="patron().pref_prefix() || patron().pref_family_name() || patron().pref_first_given_name() || patron().pref_second_given_name() || patron().pref_suffix()">
- <div class="col-md-12">
- [% l('[_1] [_2], [_3] [_4] [_5] (Preferred)',
- '{{patron().pref_prefix() || patron().prefix()}}',
- '{{patron().pref_family_name() || patron().family_name()}}',
- '{{patron().pref_first_given_name() || patron().first_given_name()}}',
- '{{patron().pref_second_given_name() || patron().second_given_name()}}',
- '{{patron().pref_suffix() || patron().suffix()}}')
- %]
- </div>
- </div>
<div class="row"
ng-class="{'patron-summary-divider' : !$index}"
ng-repeat="penalty in alert_penalties()">
<div class="col-md-5">[% l('Name') %]</div>
<div class="col-md-7">
[% l('[_1], [_2] [_3]',
- '{{patron().family_name()}}',
- '{{patron().first_given_name()}}',
- '{{patron().second_given_name()}}') %]
+ '{{patron().pref_family_name() || patron().family_name()}}',
+ '{{patron().pref_first_given_name() || patron().first_given_name()}}',
+ '{{patron().pref_second_given_name() || patron().second_given_name()}}') %]
</div>
</div>
<div class="row">
<div class="col-md-7">{{patron().ident_value2()}}</div>
</div>
<div class="row">
+ <div class="col-md-5">[% l('Legal Name') %]</div>
+ <div class="col-md-7">
+ [% l('[_1] [_2], [_3] [_4] [_5]',
+ '{{patron().prefix()}}',
+ '{{patron().family_name()}}',
+ '{{patron().first_given_name()}}',
+ '{{patron().second_given_name()}}',
+ '{{patron().suffix()}}') %]
+ </div>
+ </div>
+ <div class="row">
<div class="col-md-5">[% l('Email') %]</div>
<!-- Bound href="mailto: patron().email()" to an anchor tag to allow the patron's email address to be clicked directly from the summary. -->
<div class="col-md-7"><a ng-href="mailto:{{patron().email()}}">{{patron().email()}}</a></div>