blob: 573cd498cfd218919f6294b5fcf0fcd197924b82 [file] [log] [blame]
Matthias Andreas Benkard1ba53812022-12-27 17:32:58 +01001<div role="tabpanel" class="tab-pane fade" id="tab-user-details" role="tabpanel" aria-labelledby="tab-user-details">
2 <div class="card mb-4">
3 <div class="card-header d-flex fs-5">
4 <button class="btn d-md-none flex-grow-1 text-start" data-bs-target="#collapse-tab-user-details" data-bs-toggle="collapse" aria-controls="collapse-tab-user-details">
5 {{ lang.user.mailbox_details }}
6 </button>
7 <span class="d-none d-md-block">{{ lang.user.mailbox_details }}
8 </div>
9 <div id="collapse-tab-user-details" class="card-body collapse" data-bs-parent="#user-content">
Matthias Andreas Benkard12a57352021-12-28 18:02:04 +010010 <div class="row">
Matthias Andreas Benkard1ba53812022-12-27 17:32:58 +010011 <div class="col-sm-4 col-md-3 col-12 text-sm-end text-start"><i class="bi bi-pin-angle"></i> {{ lang.user.direct_aliases }}:
Matthias Andreas Benkard12a57352021-12-28 18:02:04 +010012 <p class="small">{{ lang.user.direct_aliases_desc }}</p>
13 </div>
Matthias Andreas Benkard1ba53812022-12-27 17:32:58 +010014 <div class="col-sm-8 col-md-9 col-12">
Matthias Andreas Benkard12a57352021-12-28 18:02:04 +010015 {% for direct_alias, direct_alias_meta in user_get_alias_details.direct_aliases %}
16 {% if direct_alias_meta.public_comment %}
17 {{ direct_alias }} &mdash; <i class="bi bi-chat-left"></i> {{ direct_alias_meta.public_comment }}<br>
18 {% else %}
19 {{ direct_alias }}<br>
20 {% endif %}
21 {% else %}
22 <i class="bi bi-x-lg"></i>
23 {% endfor %}
24 </div>
25 </div>
26 <br>
27 <div class="row">
Matthias Andreas Benkard1ba53812022-12-27 17:32:58 +010028 <div class="col-sm-4 col-md-3 col-12 text-sm-end text-start"><i class="bi bi-share"></i> {{ lang.user.shared_aliases }}:
Matthias Andreas Benkard12a57352021-12-28 18:02:04 +010029 <p class="small">{{ lang.user.shared_aliases_desc }}</p>
30 </div>
Matthias Andreas Benkard1ba53812022-12-27 17:32:58 +010031 <div class="col-sm-8 col-md-9 col-12">
Matthias Andreas Benkard12a57352021-12-28 18:02:04 +010032 {% for shared_alias, shared_alias_meta in user_get_alias_details.shared_aliases %}
33 {% if shared_alias_meta.public_comment %}
34 {{ shared_alias }} &mdash; <i class="bi bi-chat-left"></i> {{ shared_alias_meta.public_comment }}<br>
35 {% else %}
36 {{ shared_alias }}<br>
37 {% endif %}
38 {% else %}
39 <i class="bi bi-x-lg"></i>
40 {% endfor %}
41 </div>
42 </div>
43 <hr>
44 <div class="row">
Matthias Andreas Benkard1ba53812022-12-27 17:32:58 +010045 <div class="col-sm-4 col-md-3 col-12 text-sm-end text-start mb-4">{{ lang.user.aliases_also_send_as }}:</div>
46 <div class="col-sm-8 col-md-9 col-12">
Matthias Andreas Benkard12a57352021-12-28 18:02:04 +010047 <p>
48 {% if user_get_alias_details.aliases_also_send_as == '*' %}
49 {{ lang.user.sender_acl_disabled }}
50 {% elseif user_get_alias_details.aliases_also_send_as %}
51 {{ user_get_alias_details.aliases_also_send_as }}
52 {% else %}
53 <i class="bi bi-x-lg"></i>
54 {% endif %}
55 </p>
56 </div>
57 </div>
58 <div class="row">
Matthias Andreas Benkard1ba53812022-12-27 17:32:58 +010059 <div class="col-sm-4 col-md-3 col-12 text-sm-end text-start mb-4">{{ lang.user.aliases_send_as_all }}:</div>
60 <div class="col-sm-8 col-md-9 col-12">
Matthias Andreas Benkard12a57352021-12-28 18:02:04 +010061 <p>{% if not user_get_alias_details.aliases_send_as_all %}<i class="bi bi-x-lg"></i>{% endif %}</p>
62 </div>
63 </div>
64 <div class="row">
Matthias Andreas Benkard1ba53812022-12-27 17:32:58 +010065 <div class="col-sm-4 col-md-3 col-12 text-sm-end text-start mb-4">{{ lang.user.is_catch_all }}:</div>
66 <div class="col-sm-8 col-md-9 col-12">
Matthias Andreas Benkard12a57352021-12-28 18:02:04 +010067 <p>{% if not user_get_alias_details.is_catch_all %}<i class="bi bi-x-lg"></i>{% endif %}</p>
68 </div>
69 </div>
70 </div>
71 </div>
72</div>