mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-18 03:38:49 +00:00
@@ -106,10 +106,14 @@
|
||||
if (scope.block.userState)
|
||||
iElement.addClass('sg-event--' + scope.block.userState);
|
||||
|
||||
// Set background color
|
||||
if (scope.block.component) {
|
||||
// Set background color
|
||||
iElement.addClass('bg-folder' + scope.block.component.pid);
|
||||
iElement.addClass('contrast-bdr-folder' + scope.block.component.pid);
|
||||
|
||||
// Add class for transparency
|
||||
if (scope.block.component.c_isopaque === 0)
|
||||
iElement.addClass('sg-event--transparent');
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -61,10 +61,15 @@
|
||||
if (scope.block.userState)
|
||||
iElement.addClass('sg-event--' + scope.block.userState);
|
||||
|
||||
// Set background color
|
||||
if (scope.block.component)
|
||||
if (scope.block.component) {
|
||||
// Set background color
|
||||
iElement.addClass('bg-folder' + scope.block.component.pid);
|
||||
|
||||
// Add class for transparency
|
||||
if (scope.block.component.c_isopaque === 0)
|
||||
iElement.addClass('sg-event--transparent');
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user