[Web] show "apps" only if there are any

Signed-off-by: Kristian Feldsam <feldsam@gmail.com>
This commit is contained in:
Kristian Feldsam
2021-10-24 12:42:08 +02:00
parent 8116bf5ea3
commit 7e2708686f
2 changed files with 3 additions and 1 deletions

View File

@@ -64,7 +64,7 @@
<p><div class="alert alert-info">{{ lang.login.delayed|format(login_delay) }}</b></div></p>
{% endif %}
<div id="fido2-alerts"></div>
{% if not oauth2_request %}
{% if not oauth2_request and (mailcow_apps or app_links) %}
<legend><i class="bi bi-link-45deg"></i> {{ ui_texts.apps_name|raw }}</legend>
<div class="apps">
{% for app in mailcow_apps %}