Improve display of tasks status

This commit is contained in:
Francis Lachapelle
2017-05-19 12:13:01 -04:00
parent c24474b197
commit f2af5e9f87
8 changed files with 57 additions and 11 deletions
+3
View File
@@ -46,6 +46,7 @@
#import <SOGo/NSArray+Utilities.h>
#import <SOGo/NSObject+Utilities.h>
#import <SOGo/WOResourceManager+SOGo.h>
#import <Appointments/iCalToDo+SOGo.h>
#import <Appointments/SOGoAppointmentFolders.h>
#import <Appointments/SOGoWebAppointmentFolder.h>
@@ -1593,6 +1594,8 @@ _computeBlocksPosition (NSArray *blocks)
statusFlag = [self _getStatusClassForStatusCode: statusCode
andEndDateStamp: endDateStamp];
[filteredTask addObject: statusFlag];
statusFlag = [iCalToDo statusForCode: statusCode];
[filteredTask replaceObjectAtIndex: taskStatusIndex withObject: statusFlag];
if (endDateStamp > 0)
[filteredTask addObject: [self _formattedDateForSeconds: endDateStamp
forAllDay: NO]];