lp1642035: Replace SMS Carrier Dropdown
authorJason Boyer <jboyer@library.in.gov>
Thu, 1 Jun 2017 12:28:45 +0000 (08:28 -0400)
committerKathy Lussier <klussier@masslnc.org>
Wed, 21 Jun 2017 16:05:41 +0000 (12:05 -0400)
Signed-off-by: Jason Boyer <jboyer@library.in.gov>
Signed-off-by: Cesar Velez <cesar.velez@equinoxinitiative.org>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Open-ILS/src/templates/staff/circ/patron/t_edit.tt2

index b7d9606..2b85fd0 100644 (file)
@@ -658,20 +658,11 @@ within the "form" by name for validation.
     <label>[% l('Default SMS Carrier') %]</label>
   </div>
   <div class="col-md-3 reg-field-input">
-    <div class="btn-group" uib-dropdown>
-      <button type="button" class="btn btn-default" uib-dropdown-toggle>
-        <span style="padding-right: 5px;"></span>
-        <span class="caret"></span>
-      </button>
-      <ul uib-dropdown-menu>
-        <li ng-repeat="carrier in sms_carriers">
-          <a href 
-            ng-click="field_modified();user_settings['opac.default_sms_carrier'] = carrier">
-                {{carrier.name()}}
-          </a>
-        </li>
-      </ul>
-    </div>
+    <span class="nullable">
+      <select class="form-control" ng-model="user_settings['opac.default_sms_carrier']" ng-options="c.id() as c.name() for c in sms_carriers">
+        <option value="">Select a Carrier</option>
+      </select>
+    </span>
   </div>
 </div>