Posizionate date eventi sulla stessa linea

This commit is contained in:
gine 2017-03-25 18:41:35 +01:00
parent 81c79fad0e
commit 851adba296

View file

@ -106,9 +106,9 @@ EVENTS.loadFromDb = function (containerId, type) {
var evEndDate = EVENTS.formatDate(item.endDate, EVENTS.displayDateFormat);
var evFrom = "<small>Da: " + evInitDate + "</small>";
var evTo = "";
var evTo = " ";
if(evEndDate !== "") {
evTo = "<br/>" + "<small>A: " + evEndDate + "</small>";
evTo += "<small>A: " + evEndDate + "</small>";
}
var li = "<li>" +
@ -117,8 +117,7 @@ EVENTS.loadFromDb = function (containerId, type) {
item.title +
"</a>" +
"<br/>" +
evFrom +
evTo +
evFrom + evTo +
"<hr class='post-divider'>"+
"</li>";