|
|
@ -184,10 +184,17 @@ if (typeof VMM.Slider != 'undefined') { |
|
|
|
if (data.type != "start") { |
|
|
|
if (data.type != "start") { |
|
|
|
var st = VMM.Date.prettyDate(data.startdate); |
|
|
|
var st = VMM.Date.prettyDate(data.startdate); |
|
|
|
var en = VMM.Date.prettyDate(data.enddate); |
|
|
|
var en = VMM.Date.prettyDate(data.enddate); |
|
|
|
|
|
|
|
var tag = ""; |
|
|
|
|
|
|
|
/* TAG / CATEGORY |
|
|
|
|
|
|
|
================================================== */ |
|
|
|
|
|
|
|
if (data.tag != null && data.tag != "") { |
|
|
|
|
|
|
|
tag = VMM.createElement("span", data.tag, "slide-tag"); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (st != en) { |
|
|
|
if (st != en) { |
|
|
|
c.text += VMM.createElement("h2", st + " — " + en + "", "date"); |
|
|
|
c.text += VMM.createElement("h2", st + " — " + en + tag, "date"); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
c.text += VMM.createElement("h2", st, "date"); |
|
|
|
c.text += VMM.createElement("h2", st + tag, "date"); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|