mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-08-03 17:55:03 +02:00
Show the version number of Part-DB on homepage.
This commit is contained in:
parent
a748a6328d
commit
95cd56f0bd
11 changed files with 150 additions and 6 deletions
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
<title>{% block title %}Part-DB{% endblock %}</title>
|
||||
<title>{% block title %}{{ partdb_title }}{% endblock %}</title>
|
||||
{% block stylesheets %}
|
||||
{{ encore_entry_link_tags('app') }}
|
||||
{% endblock %}
|
||||
|
|
18
templates/homepage.html.twig
Normal file
18
templates/homepage.html.twig
Normal 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 %}
|
Loading…
Add table
Add a link
Reference in a new issue