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