Matthias Andreas Benkard | 1ba5381 | 2022-12-27 17:32:58 +0100 | [diff] [blame] | 1 | <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 Benkard | 12a5735 | 2021-12-28 18:02:04 +0100 | [diff] [blame] | 10 | <div class="row"> |
Matthias Andreas Benkard | 1ba5381 | 2022-12-27 17:32:58 +0100 | [diff] [blame] | 11 | <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 Benkard | 12a5735 | 2021-12-28 18:02:04 +0100 | [diff] [blame] | 12 | <p class="small">{{ lang.user.direct_aliases_desc }}</p> |
| 13 | </div> |
Matthias Andreas Benkard | 1ba5381 | 2022-12-27 17:32:58 +0100 | [diff] [blame] | 14 | <div class="col-sm-8 col-md-9 col-12"> |
Matthias Andreas Benkard | 12a5735 | 2021-12-28 18:02:04 +0100 | [diff] [blame] | 15 | {% for direct_alias, direct_alias_meta in user_get_alias_details.direct_aliases %} |
| 16 | {% if direct_alias_meta.public_comment %} |
| 17 | {{ direct_alias }} — <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 Benkard | 1ba5381 | 2022-12-27 17:32:58 +0100 | [diff] [blame] | 28 | <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 Benkard | 12a5735 | 2021-12-28 18:02:04 +0100 | [diff] [blame] | 29 | <p class="small">{{ lang.user.shared_aliases_desc }}</p> |
| 30 | </div> |
Matthias Andreas Benkard | 1ba5381 | 2022-12-27 17:32:58 +0100 | [diff] [blame] | 31 | <div class="col-sm-8 col-md-9 col-12"> |
Matthias Andreas Benkard | 12a5735 | 2021-12-28 18:02:04 +0100 | [diff] [blame] | 32 | {% for shared_alias, shared_alias_meta in user_get_alias_details.shared_aliases %} |
| 33 | {% if shared_alias_meta.public_comment %} |
| 34 | {{ shared_alias }} — <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 Benkard | 1ba5381 | 2022-12-27 17:32:58 +0100 | [diff] [blame] | 45 | <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 Benkard | 12a5735 | 2021-12-28 18:02:04 +0100 | [diff] [blame] | 47 | <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 Benkard | 1ba5381 | 2022-12-27 17:32:58 +0100 | [diff] [blame] | 59 | <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 Benkard | 12a5735 | 2021-12-28 18:02:04 +0100 | [diff] [blame] | 61 | <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 Benkard | 1ba5381 | 2022-12-27 17:32:58 +0100 | [diff] [blame] | 65 | <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 Benkard | 12a5735 | 2021-12-28 18:02:04 +0100 | [diff] [blame] | 67 | <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> |