Hello
I would like to Change the Icon as shown here:
In Month and week view this works fine as i declared classes to Events properties.
scheduler.templates.event_class = function (start, end, event) {
switch (event.termin_typ) {
case "1": return "auftrag";
// CSS
.dhx_cal_event.auftrag div, .dhx_cal_event_line.auftrag { background-color:#096 !important;color: white !important; }
.dhx_cal_event.auftrag .dhx_title { background-color:#6C9 !important; }
.dhx_cal_event_clear.auftrag { color:#096 !important; }
// CSS for changing the Icon
// but this is for all Events
div.dhx_year_tooltip .dhx_tooltip_line .dhx_event_icon.icon_details { background: url(../../../dhtmlx/Scheduler/imgs_dhx_material/calendar.png) no-repeat center center; }
How i have to modify the last line that appears a new Icon (“calendar_green.png”) for ".auftrag"
?
And i would like to have the same issue with calendar shown in Agenda view
.dhx_agenda_area .dhx_agenda_line .dhx_event_icon { background: url(../../../dhtmlx/Scheduler/imgs_dhx_material/calendar.png) no-repeat center center; }
Thank you and best regards
Oliver