LP1907923: Move course materials button to more suitable location
authorJane Sandberg <sandbej@linnbenton.edu>
Tue, 29 Dec 2020 21:03:18 +0000 (13:03 -0800)
committerGalen Charlton <gmc@equinoxinitiative.org>
Tue, 9 Feb 2021 16:48:06 +0000 (11:48 -0500)
To test:

1) Apply this patch
2) In the staff client, go to Admin > Local Admin > Course Reserves List
3) Double click on a course
4) Go to the course materials tab
5) Note that the "Add Material" button is now beneath the temporary call
   number, circ mod, item status, and shelving location fields.

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Garry Collum <gcollum@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/eg2/src/app/staff/admin/local/course-reserves/course-associate-material.component.html

index 9d94b30..5f392cd 100644 (file)
                   </div>
                 </div>
               </div>
-              <div class="row mt-3">
-                <div class="col-lg-12 text-right">
-                  <button class="btn btn-primary" [disabled]="currentCourse && currentCourse.is_archived() == 't'"
-                    (click)="associateItem(barcodeInput, relationshipInput)" i18n [disabled]="!barcodeInput">
-                    Add Material
-                  </button>
-                </div>
-              </div>
               <div class="row justify-content-center mt-3">
                 <div class="col">
                   <h5 i18n>The following fields will be applied to the material
                   </div>
                 </div>
               </div>
+              <div class="row mt-3">
+                <div class="col-lg-12 text-right">
+                  <button class="btn btn-primary" [disabled]="currentCourse && currentCourse.is_archived() == 't'"
+                    (click)="associateItem(barcodeInput, relationshipInput)" i18n [disabled]="!barcodeInput">
+                    Add Material
+                  </button>
+                </div>
+              </div>
             </ng-template>
           </li>
           <li ngbNavItem>