The code powering m.abunchtell.com https://m.abunchtell.com
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.
 
 
 
 

26 lines
895 B

  1. - content_for :page_title do
  2. = t('admin.domain_blocks.show.title', domain: @domain_block.domain)
  3. - if @domain_block.private_comment.present?
  4. .speech-bubble
  5. .speech-bubble__bubble
  6. = simple_format(h(@domain_block.private_comment))
  7. .speech-bubble__owner= t 'admin.instances.private_comment'
  8. - if @domain_block.public_comment.present?
  9. .speech-bubble
  10. .speech-bubble__bubble
  11. = simple_format(h(@domain_block.public_comment))
  12. .speech-bubble__owner= t 'admin.instances.public_comment'
  13. = simple_form_for @domain_block, url: admin_domain_block_path(@domain_block), method: :delete do |f|
  14. - unless (@domain_block.noop?)
  15. %p= t(".retroactive.#{@domain_block.severity}")
  16. %p.hint= t(:affected_accounts,
  17. scope: [:admin, :domain_blocks, :show],
  18. count: @domain_block.affected_accounts_count)
  19. .actions
  20. = f.button :button, t('.undo'), type: :submit