}
-@Html.Partial("AptFltEmployeesPartial")
+@Html.Partial("AptFltEmployeesPartial", Model)
-@Html.Partial("AptFltCustomersPartial")
+@Html.Partial("AptFltCustomersPartial", Model)
-@Html.Partial("AptFltResourcesPartial")
\ No newline at end of file
+@Html.Partial("AptFltResourcesPartial", Model)
\ No newline at end of file
diff --git a/BeWoPlanerMobil/Views/DevExpressScheduler/HorizontalAppointmentTemplatePartial.cshtml b/BeWoPlanerMobil/Views/DevExpressScheduler/HorizontalAppointmentTemplatePartial.cshtml
index f8f6edf8e..bc9ef0a12 100644
--- a/BeWoPlanerMobil/Views/DevExpressScheduler/HorizontalAppointmentTemplatePartial.cshtml
+++ b/BeWoPlanerMobil/Views/DevExpressScheduler/HorizontalAppointmentTemplatePartial.cshtml
@@ -29,7 +29,6 @@
white-space: nowrap;
overflow: hidden;
font: 10pt 'Signika Negative';
- color: #37414D;
display: block;
}
@@ -52,8 +51,12 @@
}
-
-
+@{
+ var background = Model.CustomFields["IsTask"] is true ? "#993B3B" : "#C0FFD0";
+ var color = Model.CustomFields["IsTask"] is true ? "#FFFFFF" : "#37414D";
+}
+