Fix event index
continuous-integration/drone/push Build is passing Details

This commit is contained in:
philipp lang 2024-12-12 17:35:51 +01:00
parent 52bbd076f3
commit 3120ea4692
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,5 @@
{% include 'silva.adrema::head' %}
{% if __SELF__.event.can_register %}
<event-index
style="--primary: {{__SELF__.settings.primary_color}}; --secondary: {{__SELF__.settings.secondary_color}}; --font: {{__SELF__.settings.font_color}}; --circle: {{__SELF__.settings.circle_color}}"
index-url="{{__SELF__.settings.indexUrl}}"
@ -8,4 +7,3 @@
register-url="{{__SELF__.settings.registerUrl}}"
{% if __SELF__.event %} visible-event-slug="{{__SELF__.event.slug }}" {% endif %}
></event-index>
{% endif %}

View File

@ -1,5 +1,6 @@
{% include 'silva.adrema::head' %}
{% if __SELF__.event.can_register %}
<event-form
style="--primary: {{__SELF__.settings.primary_color}}; --secondary: {{__SELF__.settings.secondary_color}}; --font: {{__SELF__.settings.font_color}}; --circle: {{__SELF__.settings.circle_color}}"
index-url="{{__SELF__.settings.indexUrl}}"
@ -9,3 +10,4 @@
form-id="{{__SELF__.event.id }}"
scroll
></event-form>
{% endif %}