Skip to content

Commit

Permalink
show event title if logo not present (fossasia#341)
Browse files Browse the repository at this point in the history
  • Loading branch information
lcduong authored Sep 29, 2024
1 parent c3d816e commit 73044d0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/pretix/presale/templates/pretixpresale/event/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,14 @@ <h2 class="content-header">
{% endif %}
</h2>
{% endif %}
{% if not event_logo %}
<h2 class="content-header">
{{ event.name }}
{% if request.event.settings.show_dates_on_frontpage %}
<small>{{ event.get_date_range_display }}</small>
{% endif %}
</h2>
{% endif %}
{% if frontpage_text and not cart_namespace %}
<div>
{{ frontpage_text|rich_text }}
Expand Down

0 comments on commit 73044d0

Please sign in to comment.