</div>
</div>
-<!-- PREFIX -->
-
-<div class="row reg-field-row" ng-show="show_field('au.prefix')">
- [% draw_field_label('au', 'prefix') %] [% draw_form_input('au', 'prefix'); %]
- <div class="col-md-6 patron-reg-example">
- [% draw_example_text('au', 'prefix') %]
- </div>
-</div>
-
<div class="row reg-field-row">
<div class="col-md-6">
<ul class="nav nav-pills nav-pills-like-tabs">
<a ng-click="name_tab='preferred'">[% l('Preferred Name') %]</a>
</li>
</ul>
+ </div>
+</div>
+
<div ng-show="name_tab == 'primary'">
<!-- PREFIX -->
<div class="col-md-6 patron-reg-example">
[% draw_example_text('au', 'first_given_name') %]
</div>
+ </div>
<!-- SECOND_GIVEN_NAME -->
</div>
<!-- addresses -->
-<div class="row">
+<div class="row" style="border-bottom: 1px solid #888; padding-bottom:3px;margin-bottom:3px;">
<button type="button" ng-click="new_address()" class="btn btn-success">[% l('New Address') %]</button>
</div>
</div>
</div>
+ <!-- KCLS does not use.
<div class="row reg-field-row">
<div class="col-md-3 reg-field-label">
<label>[% l('Holds Notices') %]</label>
</div>
</div>
</div>
+ -->
<div class="row reg-field-row" ng-if="org_settings['sms.enable']">
<div class="col-md-3 reg-field-label">
var static_types = [
'circ.holds_behind_desk',
'circ.collections.exempt',
- 'opac.hold_notify',
+ 'opac.hold_notify', // KCLS does not use this, harmless here.
'opac.default_phone',
'opac.default_pickup_location',
'opac.default_sms_carrier',
// Translate hold notify preferences from the form/scope back into a
// single user setting value for opac.hold_notify.
function compress_hold_notify() {
+ // KCLS does not use opac.hold_notify nor is the setting
+ // present in the database. This code is not friendly
+ // to that scenario. Exit early;
+ return;
+
var hold_notify_methods = [];
if ($scope.hold_notify_type.phone) {
hold_notify_methods.push('phone');