{% extends "layouts/app.twig" %} {% import 'macros/base.twig' as m %} {% block title %}{{ __('Login') }}{% endblock %} {% block content %}

{{ __('Welcome to the %s!', [config('name') ~ m.angel() ~ (config('app_name')|upper) ])|raw }}

{% for name,date in { (__('Buildup starts')): config('buildup_start'), (__('Event starts')): config('event_start'), (__('Event ends')): config('event_end'), (__('Teardown ends')): config('teardown_end') } | filter(date => date) %} {% if date > date() %} {% endif %} {% endfor %}
{% include 'layouts/parts/messages.twig' %}
{{ csrf() }}
{{ m.angel }}
{{ m.glyphicon('lock') }}
{% for type,config in config('oauth') %} {{ __('oauth.login-using-provider', [type|capitalize]) }} {% endfor %}

{{ __('Register') }}

{% if has_permission_to('register') and config('registration_enabled') %}

{{ __('Please sign up, if you want to help us!') }}

{% else %} {{ m.alert(__('Registration is disabled.'), 'danger') }} {% endif %}

{{ __('What can I do?') }}

{{ __('Please read about the jobs you can do to help us.') }}

{{ m.glyphicon('info-sign') }} {{ __('Please note: You have to activate cookies!') }}
{% endblock %}