debian-mirror-gitlab/app/views/admin/users/_ban_user.html.haml

10 lines
306 B
Text
Raw Normal View History

2021-06-08 01:23:25 +05:30
- if ban_feature_available?
.card.border-warning
.card-header.bg-warning.gl-text-white
= s_('AdminUsers|Ban user')
.card-body
= user_ban_effects
%br
%button.btn.gl-button.btn-warning.js-confirm-modal-button{ data: user_ban_data(user) }
= s_('AdminUsers|Ban user')