]> cat aescling's git repositories - mastodon.git/commit
Provide a link to existing domain block when trying to block an already-blocked domai...
authorThibG <thib@sitedethib.com>
Fri, 3 May 2019 18:36:36 +0000 (20:36 +0200)
committerEugen Rochko <eugen@zeonfederated.com>
Fri, 3 May 2019 18:36:36 +0000 (20:36 +0200)
commit011b032300657ccca4a42866749afc6ec2588ecc
treec4bd2af00b5cf2c2803d363442cde5c2b28896c9
parenteb63217210b0ab85ff1fcca9506d5e7931382a56
Provide a link to existing domain block when trying to block an already-blocked domain (#10663)

* When trying to block an already-blocked domain, provide a link to the block

* Fix styling for links in flash messages

* Allow blocks to be upgraded but not downgraded
app/controllers/admin/domain_blocks_controller.rb
app/javascript/styles/mastodon/forms.scss
app/models/domain_block.rb
config/locales/en.yml
spec/controllers/admin/domain_blocks_controller_spec.rb
spec/models/domain_block_spec.rb