credits: Make them translatable and use markdown

This commit is contained in:
Igor Scheller 2019-10-06 17:38:23 +02:00
parent 6240e5f046
commit 948c8b9408
1 changed files with 12 additions and 12 deletions

View File

@ -4,28 +4,28 @@
{% block content %} {% block content %}
<div class="container"> <div class="container">
<h1>Credits</h1> <h1>{{ __('Credits') }}</h1>
<div class="row"> <div class="row">
{% for title, credit in credits %} {% for title, credit in credits %}
<div class="col-md-4"> <div class="col-md-4">
<h2>{{ title }}</h2> <h2>{{ __(title) }}</h2>
{{ credit|markdown }} {{ __(credit)|markdown }}
</div> </div>
{% endfor %} {% endfor %}
<div class="col-md-4"> <div class="col-md-4">
<h2>Source code</h2> <h2>{{ __('Source code') }}</h2>
<p>Version: <i>{{ version }}</i></p> <p>{{ __('Version: _%s_', [version])|markdown }}</i></p>
<p> <p>
The original engelsystem was written by {{ __('The original engelsystem was written by
<a href="https://github.com/cookieBerlin/engelsystem">cookie</a>. [cookie](https://github.com/cookieBerlin/engelsystem).
It was then completely rewritten and enhanced by It was then completely rewritten and enhanced by [msquare](https://notrademark.de) (maintainer) and
<a href="https://notrademark.de">msquare</a> (maintainer) and [MyIgel](https://myigel.name).')|markdown }}
<a href="https://myigel.name">MyIgel</a>.
</p> </p>
<p> <p>
Please look at the <a href="https://github.com/engelsystem/engelsystem/graphs/contributors"> {{ __('Please have a look at the
contributor list on GitHub</a> for a complete list. [contributors list on GitHub](https://github.com/engelsystem/engelsystem/graphs/contributors)
for a complete list.')|markdown }}
</p> </p>
</div> </div>
</div> </div>