webstaff: use tabset rather than accordion for bucket record merge modal
authorGalen Charlton <gmc@esilibrary.com>
Thu, 1 Oct 2015 21:56:12 +0000 (21:56 +0000)
committerKathy Lussier <klussier@masslnc.org>
Tue, 2 Feb 2016 19:58:48 +0000 (14:58 -0500)
This stylistic change will pave the way towards
better side-by-side record management and editing in this
interface.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Open-ILS/src/templates/staff/cat/bucket/record/t_merge_records.tt2

index e25220a..fb5e4fa 100644 (file)
           </div>
           <div class="col-xs-6">
             <h4>[% l('Records to merge into lead') %]</h4>
-            <accordion>
-              <accordion-group ng-repeat="rec in records">
-                <accordion-heading>
-                    [% l('Record [_1]', '{{rec.id}}') %] <i class="pull-right glyphicon" ng-class="{'glyphicon-chevron-down': status.open, 'glyphicon-chevron-right': !status.open}"></i>
-                </accordion-heading>
+            <tabset>
+              <tab heading="[% l('Bib [_1]', '{{rec.id}}') %]" ng-repeat="rec in records">
                 <button class="btn btn-default btn-sm" ng-click="use_as_lead(rec)">[% l('Use as lead record') %]</button>
                 <button class="btn btn-default btn-sm" ng-click="drop(rec)">[% l('Remove from consideration') %]</button>
                 <eg-record-html record-id="rec.id"></eg-record-html>
-              </accordion-group>
-            </accordian>
+              </tab>
+            </tabset>
           </div>
       </div>
   </div>