1
0
Fork 0
forked from fedi/mastodon
mastodon/app/views/admin/domain_blocks
sdukhovni 06d905f415 Allow domain blocks that only reject media without silencing or suspending (#4325)
* Allow domain blocks to reject media without silencing or suspending

* Fix typo

* Hide 'Reject media' button when superfluous, instead of disabling it

* Properly hide 'reject media' checkbox on page load if needed

This may happen when resubmitting the domain block form after an error.

* Don't ask whether undoing a media-only block should be retroactive

* Rename :media_only block to :noop

* Display :noop block as None in frontend, allow blocks that do nothing

* Remove 'coding' line auto-added by emacs
2017-07-24 14:26:55 +02:00
..
_domain_block.html.haml Add admin area view partials for each record type (#2700) 2017-05-02 20:56:28 +02:00
index.html.haml Add admin area view partials for each record type (#2700) 2017-05-02 20:56:28 +02:00
new.html.haml I18n health warnings (#1949) 2017-04-16 19:37:01 +02:00
show.html.haml Allow domain blocks that only reject media without silencing or suspending (#4325) 2017-07-24 14:26:55 +02:00