blob: 5536abe4e683564d46b82e037eca23adf94d1224 [file] [log] [blame]
Matthias Andreas Benkard12a57352021-12-28 18:02:04 +01001{% extends 'base.twig' %}
2
3{% block content %}
Matthias Andreas Benkard1ba53812022-12-27 17:32:58 +01004<div id="user-content" class="responsive-tabs">
5 <!-- Nav tabs -->
6 <ul class="nav nav-tabs" role="tablist">
7 <li class="nav-item dropdown" role="presentation">
8 <a class="nav-link dropdown-toggle active" data-bs-toggle="dropdown" href="#" role="button" aria-expanded="false">{{ lang.user.mailbox }}</a>
9 <ul class="dropdown-menu">
10 <li><button class="dropdown-item active" role="tab" aria-selected="true" aria-controls="tab-user-auth" data-bs-toggle="tab" data-bs-target="#tab-user-auth">{{ lang.user.mailbox_general }}</button></li>
11 <li><button class="dropdown-item" role="tab" aria-selected="false" aria-controls="tab-config-fwdhosts" data-bs-toggle="tab" data-bs-target="#tab-user-details">{{ lang.user.mailbox_details }}</button></li>
12 <li><button class="dropdown-item" role="tab" aria-selected="false" aria-controls="tab-config-f2b" data-bs-toggle="tab" data-bs-target="#tab-user-settings">{{ lang.user.mailbox_settings }}</button></li>
13 </ul>
14 </li>
Matthias Andreas Benkardd1f5b682023-11-18 13:18:30 +010015 {% if acl.spam_alias == 1 %}
Matthias Andreas Benkard1ba53812022-12-27 17:32:58 +010016 <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>
Matthias Andreas Benkardd1f5b682023-11-18 13:18:30 +010017 {% endif %}
18 {% if acl.spam_score == 1 %}
Matthias Andreas Benkard1ba53812022-12-27 17:32:58 +010019 <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>
Matthias Andreas Benkardd1f5b682023-11-18 13:18:30 +010020 {% endif %}
21 {% if acl.syncjobs == 1 %}
Matthias Andreas Benkard1ba53812022-12-27 17:32:58 +010022 <li class="nav-item" role="presentation"><button class="nav-link" role="tab" aria-selected="false" aria-controls="Syncjobs" role="tab" data-bs-toggle="tab" data-bs-target="#Syncjobs">{{ lang.user.sync_jobs }}</button></li>
Matthias Andreas Benkardd1f5b682023-11-18 13:18:30 +010023 {% endif %}
24 {% if acl.app_passwds == 1 %}
Matthias Andreas Benkard1ba53812022-12-27 17:32:58 +010025 <li class="nav-item" role="presentation"><button class="nav-link" role="tab" aria-selected="false" aria-controls="AppPasswds" role="tab" data-bs-toggle="tab" data-bs-target="#AppPasswds">{{ lang.user.app_passwds }}</button></li>
Matthias Andreas Benkardd1f5b682023-11-18 13:18:30 +010026 {% endif %}
27 {% if acl.pushover == 1 %}
Matthias Andreas Benkard1ba53812022-12-27 17:32:58 +010028 <li class="nav-item" role="presentation"><button class="nav-link" role="tab" aria-selected="false" aria-controls="Pushover" role="tab" data-bs-toggle="tab" data-bs-target="#Pushover">Pushover API</button></li>
Matthias Andreas Benkardd1f5b682023-11-18 13:18:30 +010029 {% endif %}
Matthias Andreas Benkard1ba53812022-12-27 17:32:58 +010030 </ul>
Matthias Andreas Benkard12a57352021-12-28 18:02:04 +010031
Matthias Andreas Benkard1ba53812022-12-27 17:32:58 +010032 <div class="row">
33 <div class="col-md-12">
34 <div class="tab-content" style="padding-top:20px">
35 {% include 'user/tab-user-auth.twig' %}
36 {% include 'user/tab-user-details.twig' %}
37 {% include 'user/tab-user-settings.twig' %}
Matthias Andreas Benkardd1f5b682023-11-18 13:18:30 +010038 {% if acl.spam_alias == 1 %}{% include 'user/SpamAliases.twig' %}{% endif %}
39 {% if acl.spam_score == 1 %}{% include 'user/Spamfilter.twig' %}{% endif %}
40 {% if acl.syncjobs == 1 %}{% include 'user/Syncjobs.twig' %}{% endif %}
41 {% if acl.app_passwds == 1 %}{% include 'user/AppPasswds.twig' %}{% endif %}
42 {% if acl.pushover == 1 %}{% include 'user/Pushover.twig' %}{% endif %}
Matthias Andreas Benkard1ba53812022-12-27 17:32:58 +010043 </div>
44 </div>
45 </div>
46 <div style="margin-bottom:200px;"></div>
47 {% include 'user_domainadmin_common.twig' %}
Matthias Andreas Benkard12a57352021-12-28 18:02:04 +010048</div>
Matthias Andreas Benkard1ba53812022-12-27 17:32:58 +010049 {% endblock %}