Fix event index
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
52bbd076f3
commit
3120ea4692
|
@ -1,6 +1,5 @@
|
||||||
{% include 'silva.adrema::head' %}
|
{% include 'silva.adrema::head' %}
|
||||||
|
|
||||||
{% if __SELF__.event.can_register %}
|
|
||||||
<event-index
|
<event-index
|
||||||
style="--primary: {{__SELF__.settings.primary_color}}; --secondary: {{__SELF__.settings.secondary_color}}; --font: {{__SELF__.settings.font_color}}; --circle: {{__SELF__.settings.circle_color}}"
|
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}}"
|
index-url="{{__SELF__.settings.indexUrl}}"
|
||||||
|
@ -8,4 +7,3 @@
|
||||||
register-url="{{__SELF__.settings.registerUrl}}"
|
register-url="{{__SELF__.settings.registerUrl}}"
|
||||||
{% if __SELF__.event %} visible-event-slug="{{__SELF__.event.slug }}" {% endif %}
|
{% if __SELF__.event %} visible-event-slug="{{__SELF__.event.slug }}" {% endif %}
|
||||||
></event-index>
|
></event-index>
|
||||||
{% endif %}
|
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
{% include 'silva.adrema::head' %}
|
{% include 'silva.adrema::head' %}
|
||||||
|
|
||||||
|
{% if __SELF__.event.can_register %}
|
||||||
<event-form
|
<event-form
|
||||||
style="--primary: {{__SELF__.settings.primary_color}}; --secondary: {{__SELF__.settings.secondary_color}}; --font: {{__SELF__.settings.font_color}}; --circle: {{__SELF__.settings.circle_color}}"
|
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}}"
|
index-url="{{__SELF__.settings.indexUrl}}"
|
||||||
|
@ -9,3 +10,4 @@
|
||||||
form-id="{{__SELF__.event.id }}"
|
form-id="{{__SELF__.event.id }}"
|
||||||
scroll
|
scroll
|
||||||
></event-form>
|
></event-form>
|
||||||
|
{% endif %}
|
||||||
|
|
Loading…
Reference in New Issue