Merge branch 'master' into fix-some-warnings

Conflicts:
	UI/Scheduler/UIxAppointmentActions.m
This commit is contained in:
Patrice Levesque committed 2016-02-16 14:32:50 -05:00
commit 9cb1b899b0
16 files changed
+382 -108

No files matched your search

@@ -652,7 +652,7 @@
else
{
iCalCalendar *calendar;
NSDictionary *values;
NSDictionary *values, *info;
NSString *reason;
iCalEvent *event;
@@ -669,8 +669,10 @@
reason = [values keysWithFormat: [self labelForKey: @"Maximum number of simultaneous bookings (%{NumberOfSimultaneousBookings}) reached for resource \"%{Cn} %{SystemEmail}\". The conflicting event is \"%{EventTitle}\", and starts on %{StartDate}."]];
info = [NSDictionary dictionaryWithObject: reason forKey: @"reject"];
return [NSException exceptionWithHTTPStatus: 403
reason: reason];
reason: [info jsonRepresentation]];
}
}
//