From b6eb4cfe3f9975a6151a56c427568f0a8850f7af Mon Sep 17 00:00:00 2001 From: Bo Lopker Date: Sat, 3 Aug 2024 22:46:05 -0700 Subject: [PATCH] Add event title to detail --- totem/circles/templates/circles/_event_detail_card.html | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/totem/circles/templates/circles/_event_detail_card.html b/totem/circles/templates/circles/_event_detail_card.html index aad48523..65effb6b 100644 --- a/totem/circles/templates/circles/_event_detail_card.html +++ b/totem/circles/templates/circles/_event_detail_card.html @@ -32,8 +32,13 @@ {% comment %}End share button{% endcomment %}
-

{{ object.title }}

-
{{ object.subtitle }}
+ {% if event and event.title %} +

{{ event.title }}

+
{{ object.title }}
+ {% else %} +

{{ object.title }}

+
{{ object.subtitle }}
+ {% endif %}
with