You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{% blocktranslate with name=group %}This will delete the group <b>{{ name }}</b>.{% endblocktranslate %}
74
-
{% if group.user__count %}
75
-
{% blocktranslate count count=group.user__count %}There is {{ count }} member of this group. Deleting the group might affect their access.{% plural %}There are {{ count }} members of this group. Deleting the group might affect their access.{% endblocktranslate %}
{% blocktranslate with name=group %}This will delete the group <b>{{ name }}</b>.{% endblocktranslate %}
75
+
{% if group.user__count %}
76
+
{% blocktranslate count count=group.user__count %}There is {{ count }} member of this group. Deleting the group might affect their access.{% plural %}There are {{ count }} members of this group. Deleting the group might affect their access.{% endblocktranslate %}
77
+
{% endif %}
78
+
</div>
79
+
<divclass="modal-footer">
80
+
<inputtype="submit"
81
+
class="btn btn-danger"
82
+
name="delete"
83
+
value="{% translate "Delete" %}" />
84
+
</div>
83
85
</div>
86
+
<!-- /.modal-content -->
84
87
</div>
85
-
<!-- /.modal-content -->
88
+
<!-- /.modal-dialog -->
86
89
</div>
87
-
<!-- /.modal-dialog -->
88
-
</div>
89
-
<!-- /.modal -->
90
-
</form>
91
-
</td>
90
+
<!-- /.modal -->
91
+
</form>
92
+
</td>
93
+
{% endif %}
92
94
</tr>
93
95
{% endfor %}
94
96
</tbody>
95
97
</table>
96
98
<divclass="card-footer">{% include "paginator.html" %}</div>
97
99
</div>
98
100
99
-
<formmethod="post">
100
-
{% csrf_token %}
101
-
<divclass="card">
102
-
<divclass="card-header">
103
-
<h4class="card-title">{% translate "Create new team" %}</h4>
101
+
{% if can_edit_teams %}
102
+
<formmethod="post">
103
+
{% csrf_token %}
104
+
<divclass="card">
105
+
<divclass="card-header">
106
+
<h4class="card-title">{% translate "Create new team" %}</h4>
0 commit comments