Show if team members have 2FA enabled

This commit is contained in:
Raphael Michel
2017-08-07 16:07:18 +02:00
parent cb2826f171
commit 8506f66236
2 changed files with 13 additions and 0 deletions

View File

@@ -27,6 +27,15 @@
<tr>
<td>
{{ u.email }}
{% if u.require_2fa %}
<span class="fa fa-shield text-success" data-toggle="tooltip"
title="{% trans "Two-factor authentication enabled" %}">
</span>
{% else %}
<span class="fa fa-shield disabled" data-toggle="tooltip"
title="{% trans "Two-factor authentication disabled" %}">
</span>
{% endif %}
</td>
<td class="text-right">
<button type="submit" name="remove-member" value="{{ u.id }}"

View File

@@ -395,3 +395,7 @@ body.loading #wrapper {
.panel-title a[data-toggle="collapse"]:hover {
background-color: #eeeeee;
}
.fa.disabled {
color: $text-muted;
}