diff --git a/com/static/bundled/com/components/ics-calendar-index.ts b/com/static/bundled/com/components/ics-calendar-index.ts index e3baddc6..11a15a32 100644 --- a/com/static/bundled/com/components/ics-calendar-index.ts +++ b/com/static/bundled/com/components/ics-calendar-index.ts @@ -77,17 +77,14 @@ export class IcsCalendar extends inheritHtmlElement("div") { const makePopupTitle = (event: EventImpl) => { const row = document.createElement("div"); - const title = document.createElement("h4"); - const time = document.createElement("span"); - - title.setAttribute("class", "event-details-row-content"); - title.textContent = event.title; - - time.setAttribute("class", "event-details-row-content"); - time.textContent = `${this.formatDate(event.start)} - ${this.formatDate(event.end)}`; - - row.appendChild(title); - row.appendChild(time); + row.innerHTML = ` +

+ ${event.title} +

+ + ${this.formatDate(event.start)} - ${this.formatDate(event.end)} + + `; return makePopupInfo( row, "fa-solid fa-calendar-days fa-xl event-detail-row-icon", diff --git a/com/templates/com/news_list.jinja b/com/templates/com/news_list.jinja index 8f20ce19..34371298 100644 --- a/com/templates/com/news_list.jinja +++ b/com/templates/com/news_list.jinja @@ -123,7 +123,10 @@