lp1731370 CSS styling for new items and volumes
authorJason Etheridge <jason@EquinoxInitiative.org>
Wed, 5 Sep 2018 13:13:49 +0000 (09:13 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Thu, 30 Jul 2020 13:41:14 +0000 (09:41 -0400)
in vol/copy editor

Signed-off-by: Jason Etheridge <jason@EquinoxInitiative.org>
Signed-off-by: Elaine Hardy <ehardy@georgialibraries.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/templates/staff/css/cat.css.tt2
Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js

index 8b43227..05fe320 100644 (file)
@@ -328,4 +328,6 @@ table.custom-label-table td {
   overflow-x: scroll;
   overflow-y: scroll;
   white-space: nowrap;
-}
\ No newline at end of file
+}
+
+.new-cn { background-color: lightgreen; }
index 29bd7f0..db744d3 100644 (file)
@@ -596,7 +596,7 @@ function(egCore , $q) {
         replace: true,
         transclude: true,
         template:
-            '<div class="row">'+
+            '<div class="row" ng-class="{'+"'new-cn'"+':!callNumber.not_ephemeral}">'+
                 '<div class="col-xs-2">'+
                     '<button aria-label="Delete" style="margin:-5px -15px; float:left;" ng-hide="callNumber.not_ephemeral" type="button" class="close" ng-click="removeCN()">&times;</button>' +
                     '<select class="form-control" ng-model="classification" ng-change="updateClassification()" ng-options="cl.name() for cl in classification_list"></select>'+