Revision e969d52a
Added by Serghei Mihai almost 12 years ago
| calebasse/agenda/appointments.py | ||
|---|---|---|
| 164 | 164 |
delta_minutes = delta.seconds / 60 |
| 165 | 165 |
appointment = Appointment() |
| 166 | 166 |
appointment.type = 'busy-here' |
| 167 |
label = u"Congé (%s)" % holiday.holiday_type.name |
|
| 167 |
label = None |
|
| 168 |
if not holiday.worker: |
|
| 169 |
label = u"Absence de groupe : %s" % holiday.holiday_type.name |
|
| 170 |
else: |
|
| 171 |
label = u"Absence indiv. : %s" % holiday.holiday_type.name |
|
| 168 | 172 |
appointment.init_holiday_time(label, |
| 169 | 173 |
delta_minutes, |
| 170 | 174 |
time(interval.lower_bound.hour, interval.lower_bound.minute), |
Also available in: Unified diff
agenda: holiday type displayed in user agenda