Compare commits

...

2 Commits

Author SHA1 Message Date
Mira Weller
96bb380390 First attempt 2025-06-05 13:39:54 +02:00
Mira Weller
080bfbd4fb Update help text 2025-06-05 13:39:39 +02:00
3 changed files with 11 additions and 16 deletions

View File

@@ -2951,7 +2951,7 @@ Your {organizer} team""")) # noqa: W291
'serializer_class': serializers.BooleanField,
'form_kwargs': dict(
label=_('Show event title even if a header image is present'),
help_text=_('The title will only be shown on the event front page. If no header image is uploaded for the event, but the header image '
help_text=_('If no header image is uploaded for the event, but the header image '
'from the organizer profile is used, this option will be ignored and the event title will always be shown.'),
)
},

View File

@@ -123,6 +123,15 @@
{% endif %}
<div class="clearfix"></div>
</div>
{% if event_logo and event_logo_show_title %}
<h2 class="content-header">
{{ event.name }}
{% if request.event.settings.show_dates_on_frontpage %}
<small>{{ event.get_date_range_display_as_html }}</small>
{% endif %}
</h2>
<hr>
{% endif %}
{% if request.event.testmode %}
{% if request.sales_channel.type_instance.testmode_supported %}
<div class="alert alert-warning">
@@ -168,9 +177,8 @@
</strong></p>
</div>
{% endif %}
{% endif %}
{% if messages %}
{% for message in messages %}
<div class="alert {{ message.tags }}"{% if message.level == DEFAULT_MESSAGE_LEVELS.ERROR %} id="error-message"{% endif %}>

View File

@@ -54,11 +54,6 @@
{% if request.event.has_subevents %}
{% if not subevent %}
{% if event_logo and event_logo_show_title %}
<h2 class="content-header">
{{ event.name }}
</h2>
{% endif %}
{% if frontpage_text %}
<div>
{{ frontpage_text|rich_text }}
@@ -131,14 +126,6 @@
{% endif %}
{% endif %}
{% else %}
{% if event_logo and event_logo_show_title %}
<h2 class="content-header">
{{ event.name }}
{% if request.event.settings.show_dates_on_frontpage %}
<small>{{ event.get_date_range_display_as_html }}</small>
{% endif %}
</h2>
{% endif %}
{% if frontpage_text %}
<div>
{{ frontpage_text|rich_text }}