forked from CGM_Public/pretix_original
Do not call banner "banner", ad-blocks interfere…
This commit is contained in:
@@ -114,14 +114,14 @@
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if request.event.settings.banner_text %}
|
{% if request.event.settings.banner_text %}
|
||||||
<div class="banner-top">
|
<div class="site-notice-top">
|
||||||
{{ request.event.settings.banner_text|rich_text }}
|
{{ request.event.settings.banner_text|rich_text }}
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% block content %}
|
{% block content %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% if request.event.settings.banner_text_bottom %}
|
{% if request.event.settings.banner_text_bottom %}
|
||||||
<div class="banner-bottom">
|
<div class="site-notice-bottom">
|
||||||
{{ request.event.settings.banner_text_bottom|rich_text }}
|
{{ request.event.settings.banner_text_bottom|rich_text }}
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
@@ -241,9 +241,9 @@ h2.subevent-head {
|
|||||||
font-family: $font-family-monospace;
|
font-family: $font-family-monospace;
|
||||||
padding: 8px 0;
|
padding: 8px 0;
|
||||||
}
|
}
|
||||||
.banner-bottom {
|
.banner-bottom, .site-notice-bottom {
|
||||||
padding-top: 15px;
|
padding-top: 15px;
|
||||||
}
|
}
|
||||||
.banner-top {
|
.banner-top, .site-notice-top {
|
||||||
padding-bottom: 15px;
|
padding-bottom: 15px;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user