2022-03-30 12:39:18 +02:00
|
|
|
<div role="tabpanel" class="tab-pane fade" id="tab-mbox-aliases" role="tabpanel" aria-labelledby="tab-mbox-aliases">
|
2022-03-31 11:37:14 +02:00
|
|
|
<div class="card">
|
|
|
|
<div class="card-header">
|
2022-03-31 13:24:18 +02:00
|
|
|
{{ lang.mailbox.aliases }} <span class="badge bg-info table-lines"></span>
|
|
|
|
<div class="btn-group ms-auto hidden-xs">
|
2022-03-30 13:04:54 +02:00
|
|
|
<button class="btn btn-xs btn-success" href="#" data-bs-toggle="modal" data-bs-target="#addAliasModal"><i class="bi bi-plus-lg"></i> {{ lang.mailbox.add_alias }}</button>
|
2022-03-31 12:41:50 +02:00
|
|
|
<button class="btn btn-xs btn-secondary refresh_table" data-draw="draw_alias_table" data-table="alias_table">{{ lang.admin.refresh }}</button>
|
|
|
|
<button type="button" class="btn btn-xs btn-secondary dropdown-toggle" data-bs-toggle="dropdown">{{ lang.mailbox.table_size }}</button>
|
2021-09-22 20:47:10 +02:00
|
|
|
<ul class="dropdown-menu" data-table-id="alias_table" role="menu">
|
|
|
|
{% include 'mailbox/page-size.twig' %}
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-03-31 12:57:33 +02:00
|
|
|
<div class="card-body text-muted">
|
2021-09-22 20:47:10 +02:00
|
|
|
{{ lang.mailbox.alias_domain_alias_hint|raw }}
|
|
|
|
</div>
|
|
|
|
<!-- <div class="mass-actions-mailbox" data-actions-header="true"></div> -->
|
|
|
|
<div class="table-responsive">
|
|
|
|
<table id="alias_table" class="table table-striped"></table>
|
|
|
|
</div>
|
|
|
|
<div class="mass-actions-mailbox">
|
|
|
|
<div class="btn-group">
|
2022-03-31 15:24:10 +02:00
|
|
|
<a class="btn btn-sm btn-xs-half d-block d-sm-inline btn-secondary" id="toggle_multi_select_all" data-id="alias" href="#"><i class="bi bi-check-all"></i> {{ lang.mailbox.toggle_all }}</a>
|
|
|
|
<a class="btn btn-sm btn-xs-half d-block d-sm-inline btn-secondary dropdown-toggle" data-bs-toggle="dropdown" href="#">{{ lang.mailbox.quick_actions }}</a>
|
2021-09-22 20:47:10 +02:00
|
|
|
<ul class="dropdown-menu top33">
|
2022-03-31 10:09:25 +02:00
|
|
|
<li><a class="dropdown-item" data-action="edit_selected" data-id="alias" data-api-url='edit/alias' data-api-attr='{"active":"1"}' href="#">{{ lang.mailbox.activate }}</a></li>
|
|
|
|
<li><a class="dropdown-item" data-action="edit_selected" data-id="alias" data-api-url='edit/alias' data-api-attr='{"active":"0"}' href="#">{{ lang.mailbox.deactivate }}</a></li>
|
|
|
|
<li><hr class="dropdown-divider"></li>
|
|
|
|
<li><a class="dropdown-item" data-action="delete_selected" data-id="alias" data-api-url='delete/alias' href="#">{{ lang.mailbox.remove }}</a></li>
|
2021-09-22 20:47:10 +02:00
|
|
|
{% if not skip_sogo %}
|
2022-03-31 10:09:25 +02:00
|
|
|
<li><hr class="dropdown-divider"></li>
|
|
|
|
<li><a class="dropdown-item" data-action="edit_selected" data-id="alias" data-api-url='edit/alias' data-api-attr='{"sogo_visible":"1"}' href="#">{{ lang.mailbox.sogo_visible_y }}</a></li>
|
|
|
|
<li><a class="dropdown-item" data-action="edit_selected" data-id="alias" data-api-url='edit/alias' data-api-attr='{"sogo_visible":"0"}' href="#">{{ lang.mailbox.sogo_visible_n }}</a></li>
|
2021-09-22 20:47:10 +02:00
|
|
|
{% endif %}
|
|
|
|
</ul>
|
2022-03-31 15:24:10 +02:00
|
|
|
<a class="btn btn-sm d-block d-sm-inline btn-secondary" data-action="edit_selected" data-id="alias" data-api-url='edit/alias' data-api-attr='{"expand_alias":true}' ><i class="bi bi-arrows-angle-expand"></i> {{ lang.mailbox.add_alias_expand }}</a>
|
|
|
|
<a class="btn btn-sm d-block d-sm-inline btn-success" href="#" data-bs-toggle="modal" data-bs-target="#addAliasModal"><i class="bi bi-plus-lg"></i> {{ lang.mailbox.add_alias }}</a>
|
2021-09-22 20:47:10 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|