about screen with debug information for super-admin (#378)

This commit is contained in:
Kevin Papst
2018-10-29 15:28:52 +01:00
committed by GitHub
parent 55aedcd4a8
commit 34a3f4e275
7 changed files with 346 additions and 4 deletions

View File

@@ -28,6 +28,18 @@
</div>
</a>
</li>
{% if is_granted('ROLE_SUPER_ADMIN') %}
<li>
<a href="{{ path('about') }}">
<i class="menu-icon far fa-copyright bg-aqua"></i>
<div class="menu-info">
<h4 class="control-sidebar-subheading">{{ 'about.title'|trans({}, 'about') }}</h4>
<p>{{ 'about.subtitle'|trans({}, 'about') }}</p>
</div>
</a>
</li>
{% endif %}
</ul>
<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>