about summary refs log tree commit diff
path: root/app/views/auth/registrations/_status.html.haml
blob: b38a83d67de18e649130f51b7e624a17df4cc2be (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
%h3= t('auth.status.account_status')

- if @user.account.suspended?
  %span.negative-hint= t('user_mailer.warning.explanation.suspend')
- elsif @user.disabled?
  %span.negative-hint= t('user_mailer.warning.explanation.disable')
- elsif @user.account.silenced?
  %span.warning-hint= t('user_mailer.warning.explanation.silence')
- elsif !@user.confirmed?
  %span.warning-hint= t('auth.status.confirming')
- elsif !@user.approved?
  %span.warning-hint= t('auth.status.pending')
- else
  %span.positive-hint= t('auth.status.functional')

%hr.spacer/