Commit 7a04a914 authored by Jérome Perrin's avatar Jérome Perrin

JSOperatorGantt: display off shift in grey

parent 97d7ec60
......@@ -75,6 +75,9 @@ class JSOperatorGantt(plugin.OutputPreparationPlugin, TimeSupportMixin):
entranceTime=entranceTime,
duration=exitTime-entranceTime,
)
if task_id == 'off-shift':
task_dict[operatorId+task_id+str(k)]['color'] = 'grey'
# return the result to the gadget
result[self.configuration_dict['output_id']] = dict(
time_unit=self.getTimeUnitText(),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment