Skip to content

Commit

Permalink
[Web] fix issue #6185
Browse files Browse the repository at this point in the history
  • Loading branch information
FreddleSpl0it committed Dec 9, 2024
1 parent 49e05f5 commit fa3b789
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data/web/templates/user.twig
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
{% if acl.spam_alias == 1 %}
<li class="nav-item" role="presentation"><button class="nav-link" role="tab" aria-selected="false" aria-controls="SpamAliases" role="tab" data-bs-toggle="tab" data-bs-target="#SpamAliases">{{ lang.user.spam_aliases }}</button></li>
{% endif %}
{% if acl.spam_score == 1 %}
{% if acl.spam_score == 1 or acl.spam_policy == 1 %}
<li class="nav-item" role="presentation"><button class="nav-link" role="tab" aria-selected="false" aria-controls="Spamfilter" role="tab" data-bs-toggle="tab" data-bs-target="#Spamfilter">{{ lang.user.spamfilter }}</button></li>
{% endif %}
{% if acl.syncjobs == 1 %}
Expand All @@ -36,7 +36,7 @@
{% include 'user/tab-user-details.twig' %}
{% include 'user/tab-user-settings.twig' %}
{% if acl.spam_alias == 1 %}{% include 'user/SpamAliases.twig' %}{% endif %}
{% if acl.spam_score == 1 %}{% include 'user/Spamfilter.twig' %}{% endif %}
{% if acl.spam_score == 1 or acl.spam_policy == 1 %}{% include 'user/Spamfilter.twig' %}{% endif %}
{% if acl.syncjobs == 1 %}{% include 'user/Syncjobs.twig' %}{% endif %}
{% if acl.app_passwds == 1 %}{% include 'user/AppPasswds.twig' %}{% endif %}
{% if acl.pushover == 1 %}{% include 'user/Pushover.twig' %}{% endif %}
Expand Down

0 comments on commit fa3b789

Please sign in to comment.