2021-07-22 21:22:21 +02:00
|
|
|
{% import 'macros/base.twig' as m %}
|
|
|
|
|
2018-09-23 19:13:19 +02:00
|
|
|
<div class="col-md-12">
|
|
|
|
<hr/>
|
|
|
|
<div class="text-center footer" style="margin-bottom: 10px;">
|
|
|
|
{% block eventinfo %}
|
2018-09-25 17:33:31 +02:00
|
|
|
{% if config('name') %}
|
|
|
|
{% if config('event_start') and config('event_end') %}
|
2019-11-30 19:40:52 +01:00
|
|
|
{{ __('%1$s, from %2$s to %3$s', [
|
2018-09-25 17:33:31 +02:00
|
|
|
config('name'),
|
|
|
|
config('event_start').format(__('Y-m-d')),
|
|
|
|
config('event_end').format(__('Y-m-d'))
|
2018-09-23 19:13:19 +02:00
|
|
|
]) }}
|
2018-09-25 17:33:31 +02:00
|
|
|
{% elseif config('event_start') %}
|
2019-11-30 19:40:52 +01:00
|
|
|
{{ __('%1$s, starting %2$s', [
|
2018-09-25 17:33:31 +02:00
|
|
|
config('name'),
|
|
|
|
config('event_start').format(__('Y-m-d'))
|
2018-09-23 19:13:19 +02:00
|
|
|
]) }}
|
|
|
|
{% else %}
|
2018-09-25 17:33:31 +02:00
|
|
|
{{ config('name') }}
|
2018-09-23 19:13:19 +02:00
|
|
|
{% endif %} <br>
|
2018-09-25 17:33:31 +02:00
|
|
|
{% elseif config('event_start') and config('event_end') %}
|
2019-11-30 19:40:52 +01:00
|
|
|
{{ __('Event from %1$s to %2$s', [
|
2018-09-25 17:33:31 +02:00
|
|
|
config('event_start').format(__('Y-m-d')),
|
|
|
|
config('event_end').format(__('Y-m-d'))
|
2018-09-23 19:13:19 +02:00
|
|
|
]) }} <br>
|
|
|
|
{% endif %}
|
|
|
|
{% endblock %}
|
|
|
|
|
2018-10-24 14:54:37 +02:00
|
|
|
{% for name,url in config('footer_items') %}
|
2020-12-06 00:16:15 +01:00
|
|
|
<a href="{% if url starts with '/' %}{{ url(url) }}{% else %}{{ url }}{% endif %}">
|
2021-07-22 21:22:21 +02:00
|
|
|
{% if '@' in url %}{{ m.icon('envelope') }}{% endif %}
|
2018-10-24 14:54:37 +02:00
|
|
|
{{ __(name) }}
|
|
|
|
</a> ·
|
|
|
|
{% endfor %}
|
2020-06-01 15:13:21 +02:00
|
|
|
<a href="https://github.com/engelsystem/engelsystem/issues">{{ __('Bugs / Features') }}</a>
|
2018-09-23 19:13:19 +02:00
|
|
|
· <a href="https://github.com/engelsystem/engelsystem/">{{ __('Development Platform') }}</a>
|
|
|
|
· <a href="{{ url('credits') }}">{{ __('Credits') }}</a>
|
|
|
|
</div>
|
|
|
|
</div>
|