mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-26 13:55:23 +00:00
(js,css) Style cancelled events in Calendar module
This commit is contained in:
@@ -11,6 +11,7 @@ Enhancements
|
||||
- [eas] handle inline attachments during EAS content generation
|
||||
- [web] all batch operations can now be performed on selected messages in advanced search mode
|
||||
- [web] add date picker to change date, week, or month of current Calendar view
|
||||
- [web] style cancelled events in Calendar module
|
||||
- [oc] better handling of nested attachments with OpenChange
|
||||
|
||||
Bug fixes
|
||||
|
||||
@@ -114,6 +114,10 @@
|
||||
// Add class for transparency
|
||||
if (scope.block.component.c_isopaque === 0)
|
||||
iElement.addClass('sg-event--transparent');
|
||||
|
||||
// Add class for cancelled event
|
||||
if (scope.block.component.c_status === 0)
|
||||
iElement.addClass('sg-event--cancelled');
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -68,6 +68,10 @@
|
||||
// Add class for transparency
|
||||
if (scope.block.component.c_isopaque === 0)
|
||||
iElement.addClass('sg-event--transparent');
|
||||
|
||||
// Add class for cancelled event
|
||||
if (scope.block.component.c_status === 0)
|
||||
iElement.addClass('sg-event--cancelled');
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -333,6 +333,11 @@ $quarter_height: 10px;
|
||||
);
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
// Event is cancelled
|
||||
&--cancelled .text {
|
||||
text-decoration: line-through;
|
||||
}
|
||||
}
|
||||
|
||||
.eventInside {
|
||||
|
||||
Reference in New Issue
Block a user