Project

General

Profile

« Previous | Next » 

Revision 488c701f

Added by Serghei Mihai almost 11 years ago

personnes: icon for the service from which the schedules are viewed hidden

Closes #4114

View differences:

calebasse/agenda/appointments.py
172 172
        services = holiday.services.all()
173 173
        if service not in services:
174 174
            appointment.type = 'busy-elsewhere'
175
        appointment.other_services_names = [s.slug for s in services]
175
        appointment.other_services_names = [s.slug for s in services if s != service]
176 176
        appointments.append(appointment)
177 177
    for time_table in time_tables:
178 178
        interval_set = IntervalSet.between(time_table.to_interval(date).lower_bound.time(),

Also available in: Unified diff