diff options
author | Igor Scheller <igor.scheller@igorshp.de> | 2018-10-24 14:54:37 +0200 |
---|---|---|
committer | Igor Scheller <igor.scheller@igorshp.de> | 2018-10-24 22:31:32 +0200 |
commit | 2aad181798c9ba91832fef3ca4efd0e23fc80fef (patch) | |
tree | f1816263c018d1ac816da15a83c94728e7960a4b /resources/views | |
parent | 4f04924e29b3fdda53aab431411868dc117607f2 (diff) |
Footer: Add additional links to the footer
Closes #435 (Support for additional footer links)
Diffstat (limited to 'resources/views')
-rw-r--r-- | resources/views/layouts/parts/footer.twig | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/resources/views/layouts/parts/footer.twig b/resources/views/layouts/parts/footer.twig index e986963a..85d87473 100644 --- a/resources/views/layouts/parts/footer.twig +++ b/resources/views/layouts/parts/footer.twig @@ -25,11 +25,13 @@ {% endif %} {% endblock %} - <a href="{{ config('faq_url') }}">{{ __('FAQ') }}</a> - · <a href="{{ config('contact_email') }}"> - <span class="glyphicon glyphicon-envelope"></span> {{ __('Contact') }} - </a> - · <a href="https://github.com/engelsystem/engelsystem/issues">{{ __('Bugs / Features') }}</a> + {% for name,url in config('footer_items') %} + <a href="{{ url }}"> + {% if '@' in url %}<span class="glyphicon glyphicon-envelope"></span>{% endif %} + {{ __(name) }} + </a> · + {% endfor %} + <a href="https://github.com/engelsystem/engelsystem/issues">{{ __('Bugs / Features') }}</a> · <a href="https://github.com/engelsystem/engelsystem/">{{ __('Development Platform') }}</a> · <a href="{{ url('credits') }}">{{ __('Credits') }}</a> </div> |