Skip to content

Commit

Permalink
Add event title to detail
Browse files Browse the repository at this point in the history
  • Loading branch information
blopker committed Aug 4, 2024
1 parent 64753a1 commit b6eb4cf
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions totem/circles/templates/circles/_event_detail_card.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,13 @@
{% comment %}End share button{% endcomment %}
<div class="flex min-h-[400px] flex-col justify-between gap-y-5 p-5">
<div>
<h1 class="h1 pb-3 text-white">{{ object.title }}</h1>
<div class="h3 text-white">{{ object.subtitle }}</div>
{% if event and event.title %}
<h1 class="h1 pb-3 text-white">{{ event.title }}</h1>
<div class="h3 text-white">{{ object.title }}</div>
{% else %}
<h1 class="h1 pb-3 text-white">{{ object.title }}</h1>
<div class="h3 text-white">{{ object.subtitle }}</div>
{% endif %}
<div class="text-white">
with
<a href="{{ object.author.get_keeper_url }}"
Expand Down

0 comments on commit b6eb4cf

Please sign in to comment.