mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-16 16:15:01 +01:00
564efd0651
* Add appeals * Add ability to reject appeals and ability to browse pending appeals in admin UI * Add strikes to account page in settings * Various fixes and improvements - Add separate notification setting for appeals, separate from reports - Fix style of links in report/strike header - Change approving an appeal to not restore statuses (due to federation complexities) - Change style of successfully appealed strikes on account settings page - Change account settings page to only show unappealed or recently appealed strikes * Change appealed_at to overruled_at * Fix missing method error
18 lines
567 B
Plaintext
18 lines
567 B
Plaintext
- if !@user.confirmed?
|
|
.flash-message.warning
|
|
= t('auth.status.confirming')
|
|
= link_to t('auth.didnt_get_confirmation'), new_user_confirmation_path
|
|
- elsif !@user.approved?
|
|
.flash-message.warning
|
|
= t('auth.status.pending')
|
|
- elsif @user.account.moved_to_account_id.present?
|
|
.flash-message.warning
|
|
= t('auth.status.redirecting_to', acct: @user.account.moved_to_account.acct)
|
|
= link_to t('migrations.cancel'), settings_migration_path
|
|
|
|
%h3= t('auth.status.account_status')
|
|
|
|
= render partial: 'account_warning', collection: @strikes
|
|
|
|
%hr.spacer/
|