You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
546 B

  1. %h3= t('auth.status.account_status')
  2. - if @user.account.suspended?
  3. %span.negative-hint= t('user_mailer.warning.explanation.suspend')
  4. - elsif @user.disabled?
  5. %span.negative-hint= t('user_mailer.warning.explanation.disable')
  6. - elsif @user.account.silenced?
  7. %span.warning-hint= t('user_mailer.warning.explanation.silence')
  8. - elsif !@user.confirmed?
  9. %span.warning-hint= t('auth.status.confirming')
  10. - elsif !@user.approved?
  11. %span.warning-hint= t('auth.status.pending')
  12. - else
  13. %span.positive-hint= t('auth.status.functional')
  14. %hr.spacer/