Skip to content

Commit

Permalink
Fixed button order
Browse files Browse the repository at this point in the history
  • Loading branch information
theoboldt committed Oct 7, 2024
1 parent cb4bbb6 commit 988b638
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions app/templates/event/public/detail.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,12 @@
Teilnehmen {{ caretRightDouble() }}
</a>
{% endif %}
{% if event.isActiveRegistrationEmployee %}
<a role="button"
href="{{ path('event_public_employee_register', {'eid': event.eid }) }}"
class="btn btn-default">Mitarbeiten {{ caretRightDouble() }}
</a>
{% endif %}
<a href="{{ path('event', {eid: event.eid}) }}" class="btn btn-primary">Verwalten</a>
{% else %}
{% if event.isActive %}
Expand All @@ -60,13 +66,13 @@
{{ caretRightDouble() }}
</a>
{% endif %}
{% if event.isActiveRegistrationEmployee %}
<a role="button"
href="{{ path('event_public_employee_register', {'eid': event.eid }) }}"
class="btn btn-default">Mitarbeiten {{ caretRightDouble() }}
</a>
{% endif %}
{% endif %}
{% if event.isActiveRegistrationEmployee %}
<a role="button"
href="{{ path('event_public_employee_register', {'eid': event.eid }) }}"
class="btn btn-default">Mitarbeiten {{ caretRightDouble() }}
</a>
{% endif %}
{% if event.hasLink() %}
<a href="{{ event.linkUrl }}" rel="noopener" target="_blank"
class="btn btn-default glyphicon-size-75">{{ event.linkTitle }} {{ 'new-window'|glyph }}</a>
Expand Down

0 comments on commit 988b638

Please sign in to comment.