user-profile - sidebar links and language settings (#369)
This commit is contained in:
@@ -1,20 +1,33 @@
|
||||
{% import "macros/widgets.html.twig" as widgets %}
|
||||
|
||||
{% set version = constant('App\\Constants::VERSION') ~ ' ' ~ constant('App\\Constants::STATUS') %}
|
||||
|
||||
<h3 class="control-sidebar-heading">Kimai v2 - {{ version }}</h3>
|
||||
<div class="form-group">
|
||||
{{ 'home.betainfo'|trans({'%version%': version}, 'sidebar')|raw|nl2br }}
|
||||
</div>
|
||||
|
||||
<ul class="control-sidebar-menu">
|
||||
<li>
|
||||
<a href="{{ path('help') }}">
|
||||
<i class="menu-icon {{ 'manual'|icon }} bg-yellow"></i>
|
||||
<a href="{{ constant('App\\Constants::GITHUB') }}" target="_blank">
|
||||
<i class="menu-icon fab fa-github bg-gray"></i>
|
||||
|
||||
<div class="menu-info">
|
||||
<h4 class="control-sidebar-subheading">{{ 'help.title'|trans({}, 'sidebar') }}</h4>
|
||||
<p>{{ 'help.subtitle'|trans({}, 'sidebar') }}</p>
|
||||
<h4 class="control-sidebar-subheading">GitHub</h4>
|
||||
<p>{{ 'home.github'|trans({}, 'sidebar')|raw }}</p>
|
||||
</div>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{{ constant('App\\Constants::HOMEPAGE') }}" target="_blank">
|
||||
<i class="menu-icon fa fa-home bg-green"></i>
|
||||
|
||||
<div class="menu-info">
|
||||
<h4 class="control-sidebar-subheading">{{ 'home.website'|trans({}, 'sidebar') }}</h4>
|
||||
<p>www.kimai.org</p>
|
||||
</div>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<h3 class="control-sidebar-heading">{{ 'home.title'|trans({'%version%': version}, 'sidebar') }}</h3>
|
||||
<div class="form-group">
|
||||
{{ 'home.betainfo'|trans({'%version%': version, '%url%': constant('App\\Constants::GITHUB')}, 'sidebar')|raw|nl2br }}
|
||||
<br>
|
||||
<a href="{{ constant('App\\Constants::GITHUB') }}graphs/contributors">{{ 'made.by.license'|trans({}, 'sidebar')|raw }}</a>
|
||||
</div>
|
||||
<p><br>Made with ♥ by <a href="https://www.kevinpapst.de/">Kevin Papst</a> and <a href="{{ constant('App\\Constants::GITHUB') }}graphs/contributors" target="_blank">great contributors</a>.</p>
|
||||
|
||||
Reference in New Issue
Block a user