- {{ entry.name or entry.calendar.name }}
+ {{ entry.name or entry.calendar_name }}
{{ entry.start_at }}
diff --git a/browser/templates/_types/post/_entry_items.html b/browser/templates/_types/post/_entry_items.html
index 3a7b04f..d221e85 100644
--- a/browser/templates/_types/post/_entry_items.html
+++ b/browser/templates/_types/post/_entry_items.html
@@ -4,14 +4,14 @@
{% set has_more_entries = has_more if has_more is defined else (associated_entries.has_more if associated_entries is defined else False) %}
{% for entry in entry_list %}
- {% set _entry_path = '/' + post.slug + '/calendars/' + entry.calendar.slug + '/' + entry.start_at.year|string + '/' + entry.start_at.month|string + '/' + entry.start_at.day|string + '/entries/' + entry.id|string + '/' %}
+ {% set _entry_path = '/' + post.slug + '/calendars/' + entry.calendar_slug + '/' + entry.start_at.year|string + '/' + entry.start_at.month|string + '/' + entry.start_at.day|string + '/entries/' + entry.id|string + '/' %}
- {% if entry.calendar.post.feature_image %}
-
{% else %}
diff --git a/contracts/dtos.py b/contracts/dtos.py
index f0f8c4f..fd1916f 100644
--- a/contracts/dtos.py
+++ b/contracts/dtos.py
@@ -60,6 +60,8 @@ class CalendarEntryDTO:
ticket_count: int | None = None
calendar_name: str | None = None
calendar_slug: str | None = None
+ calendar_container_id: int | None = None
+ calendar_container_type: str | None = None
# ---------------------------------------------------------------------------
diff --git a/services/calendar_impl.py b/services/calendar_impl.py
index 809ff3a..d78531b 100644
--- a/services/calendar_impl.py
+++ b/services/calendar_impl.py
@@ -42,6 +42,8 @@ def _entry_to_dto(entry: CalendarEntry) -> CalendarEntryDTO:
ticket_count=entry.ticket_count,
calendar_name=cal.name if cal else None,
calendar_slug=cal.slug if cal else None,
+ calendar_container_id=cal.container_id if cal else None,
+ calendar_container_type=cal.container_type if cal else None,
)