[F.END] Display cancelled/not confirmed
This commit is contained in:
parent
14b36061f5
commit
97dc951052
|
@ -60,13 +60,13 @@ function zerocalcareDisplay() {
|
||||||
// Check if event is not confirmed
|
// Check if event is not confirmed
|
||||||
if (typeof json_obj[i]['STATUS'] === 'string') {
|
if (typeof json_obj[i]['STATUS'] === 'string') {
|
||||||
// Strike time, date and location to remark this concept
|
// Strike time, date and location to remark this concept
|
||||||
var strikeEvent = function () {
|
var strikeEvent = function (message) {
|
||||||
dateText.style.textDecoration = 'line-through';
|
dateText.style.textDecoration = 'line-through';
|
||||||
timeText.style.textDecoration = 'line-through';
|
timeText.style.textDecoration = 'line-through';
|
||||||
locationText.style.textDecoration = 'line-through';
|
locationText.style.textDecoration = 'line-through';
|
||||||
var unconfirmedElement = document.createElement('div');
|
var unconfirmedElement = document.createElement('div');
|
||||||
unconfirmedElement.style.fontWeight = 'bold';
|
unconfirmedElement.style.fontWeight = 'bold';
|
||||||
unconfirmedElement.appendChild(document.createTextNode('⚠️ Non confermato!'));
|
unconfirmedElement.appendChild(document.createTextNode(message));
|
||||||
eventElement.appendChild(unconfirmedElement);
|
eventElement.appendChild(unconfirmedElement);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue