Show the version number of Part-DB on homepage.

This commit is contained in:
Jan Böhmer 2019-03-12 13:34:33 +01:00
parent a748a6328d
commit 95cd56f0bd
11 changed files with 150 additions and 6 deletions

View file

@ -0,0 +1,18 @@
{% extends "base.html.twig" %}
{% block content %}
<div class="jumbotron">
<h1 class="display-3">{{ partdb_title }}</h1>
<h4>
{% trans %}version.caption{% endtrans %}: {{ shivas_app_version }}
</h4>
{% if banner is not empty %}
<hr>
<div>
<h5>{{ banner }}</h5>
</div>
{% endif %}
</div>
{% endblock %}