mirror of
https://github.com/pretix/pretix.git
synced 2025-12-18 16:12:26 +00:00
Compare commits
2 Commits
recovery-c
...
event-titl
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
96bb380390 | ||
|
|
080bfbd4fb |
@@ -2951,7 +2951,7 @@ Your {organizer} team""")) # noqa: W291
|
|||||||
'serializer_class': serializers.BooleanField,
|
'serializer_class': serializers.BooleanField,
|
||||||
'form_kwargs': dict(
|
'form_kwargs': dict(
|
||||||
label=_('Show event title even if a header image is present'),
|
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.'),
|
'from the organizer profile is used, this option will be ignored and the event title will always be shown.'),
|
||||||
)
|
)
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -123,6 +123,15 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
<div class="clearfix"></div>
|
<div class="clearfix"></div>
|
||||||
</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.event.testmode %}
|
||||||
{% if request.sales_channel.type_instance.testmode_supported %}
|
{% if request.sales_channel.type_instance.testmode_supported %}
|
||||||
<div class="alert alert-warning">
|
<div class="alert alert-warning">
|
||||||
@@ -168,9 +177,8 @@
|
|||||||
</strong></p>
|
</strong></p>
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if messages %}
|
{% if messages %}
|
||||||
{% for message in messages %}
|
{% for message in messages %}
|
||||||
<div class="alert {{ message.tags }}"{% if message.level == DEFAULT_MESSAGE_LEVELS.ERROR %} id="error-message"{% endif %}>
|
<div class="alert {{ message.tags }}"{% if message.level == DEFAULT_MESSAGE_LEVELS.ERROR %} id="error-message"{% endif %}>
|
||||||
|
|||||||
@@ -54,11 +54,6 @@
|
|||||||
|
|
||||||
{% if request.event.has_subevents %}
|
{% if request.event.has_subevents %}
|
||||||
{% if not subevent %}
|
{% if not subevent %}
|
||||||
{% if event_logo and event_logo_show_title %}
|
|
||||||
<h2 class="content-header">
|
|
||||||
{{ event.name }}
|
|
||||||
</h2>
|
|
||||||
{% endif %}
|
|
||||||
{% if frontpage_text %}
|
{% if frontpage_text %}
|
||||||
<div>
|
<div>
|
||||||
{{ frontpage_text|rich_text }}
|
{{ frontpage_text|rich_text }}
|
||||||
@@ -131,14 +126,6 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% else %}
|
{% 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 %}
|
{% if frontpage_text %}
|
||||||
<div>
|
<div>
|
||||||
{{ frontpage_text|rich_text }}
|
{{ frontpage_text|rich_text }}
|
||||||
|
|||||||
Reference in New Issue
Block a user