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 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>";
|
||||
|
||||
|
|
Loading…
Reference in a new issue