Posizionate date eventi sulla stessa linea
This commit is contained in:
parent
81c79fad0e
commit
851adba296
1 changed files with 3 additions and 4 deletions
|
@ -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>";
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue