debian-mirror-gitlab/app/views/admin/users/_ban_user.html.haml
2021-06-08 01:23:25 +05:30

9 lines
306 B
Text

- 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')