ajout icone congés
This commit is contained in:
@@ -253,14 +253,19 @@ function eventRender(info) {
|
||||
var eventInfo=$(content).children('.eventUser');
|
||||
|
||||
// Ajout container
|
||||
content.append("<span class='eventInfo float-right'></span>");
|
||||
content.append("<span style='margin-top:-12px' class='eventInfo float-right'></span>");
|
||||
var eventInfo=$(content).children('.eventInfo');
|
||||
|
||||
// Ajouter le verrou si event non editable
|
||||
if(info.event.extendedProps.locked) {
|
||||
eventInfo.append("<i class='fa fa-lock float-right'></i>");
|
||||
}
|
||||
|
||||
if(info.event.extendedProps.externaltrip) {
|
||||
eventInfo.append("<i class='fas fa-bed float-right'></i>");
|
||||
}
|
||||
if(info.event.extendedProps.holiday) {
|
||||
eventInfo.append("<i class='fas fa-umbrella-beach float-right'></i>");
|
||||
}
|
||||
// Ajout estimation
|
||||
eventInfo.append("<span class='eventEstimate float-right small'>"+info.event.extendedProps.estimate+"</span>");
|
||||
|
||||
|
Reference in New Issue
Block a user