mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2025-01-24 05:16:55 +02:00
[Web] fix iam attribute mapping ui
This commit is contained in:
parent
d4ae616460
commit
61ab17d8a1
@ -58,8 +58,8 @@
|
|||||||
</div>
|
</div>
|
||||||
{% for key, role in identity_provider_settings.mappers %}
|
{% for key, role in identity_provider_settings.mappers %}
|
||||||
<div class="offset-sm-3 col-4 d-flex mb-2">
|
<div class="offset-sm-3 col-4 d-flex mb-2">
|
||||||
<input type="text" class="form-control me-2" name="mappers" value="{{ identity_provider_settings.mappers[key] }}">
|
<input type="text" class="form-control me-2" name="mappers" value="{{ identity_provider_settings.mappers[key] }}" required>
|
||||||
<select data-live-search="true" name="templates" class="form-control" title="{{ lang.mailbox.template }}">
|
<select data-live-search="true" name="templates" class="form-control" title="{{ lang.mailbox.template }}" required>
|
||||||
{% for mbox_template in mbox_templates %}
|
{% for mbox_template in mbox_templates %}
|
||||||
<option{% if mbox_template.template == identity_provider_settings.templates[key] %} selected{% endif %}>
|
<option{% if mbox_template.template == identity_provider_settings.templates[key] %} selected{% endif %}>
|
||||||
{{ mbox_template.template }}
|
{{ mbox_template.template }}
|
||||||
@ -69,9 +69,10 @@
|
|||||||
<button class="iam_rolemap_del btn btn-sm d-block d-sm-inline btn-secondary ms-2"><i class="bi bi-x-lg"></i></button>
|
<button class="iam_rolemap_del btn btn-sm d-block d-sm-inline btn-secondary ms-2"><i class="bi bi-x-lg"></i></button>
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
{% if not identity_provider_settings.mappers %}
|
||||||
<div class="offset-sm-3 col-4 d-flex mb-2">
|
<div class="offset-sm-3 col-4 d-flex mb-2">
|
||||||
<input type="text" class="form-control me-2" name="mappers" value="">
|
<input type="text" class="form-control me-2" name="mappers" value="" required>
|
||||||
<select data-live-search="true" name="templates" class="form-control" title="{{ lang.mailbox.template }}">
|
<select data-live-search="true" name="templates" class="form-control" title="{{ lang.mailbox.template }}" required>
|
||||||
{% for mbox_template in mbox_templates %}
|
{% for mbox_template in mbox_templates %}
|
||||||
<option>
|
<option>
|
||||||
{{ mbox_template.template }}
|
{{ mbox_template.template }}
|
||||||
@ -80,6 +81,7 @@
|
|||||||
</select>
|
</select>
|
||||||
<button class="iam_rolemap_del btn btn-sm d-block d-sm-inline btn-secondary ms-2"><i class="bi bi-x-lg"></i></button>
|
<button class="iam_rolemap_del btn btn-sm d-block d-sm-inline btn-secondary ms-2"><i class="bi bi-x-lg"></i></button>
|
||||||
</div>
|
</div>
|
||||||
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
<div class="row mt-4 mb-2">
|
<div class="row mt-4 mb-2">
|
||||||
<div class="offset-sm-3 col-sm-9">
|
<div class="offset-sm-3 col-sm-9">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user