about summary refs log tree commit diff
path: root/app/views/domain_blocks/_domain_block.html.haml
blob: d690773e70b8d5024a61bfba994c91cfde2c8c69 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
%hr/
%p
  %strong= "Domain: "
  %samp= domain_block.domain
  %br/
  %strong= "Policies: "
  %span= ([domain_block.severity.gsub('_', ' ')] + domain_block.additionals).join(', ')
  %br/
  %strong= "Added: "
  %span= domain_block.created_at
  - if domain_block.updated_at.to_i != domain_block.created_at.to_i
    %br/
    %strong= "Updated: "
    %span= domain_block.updated_at
  - if domain_block.reason?
    %br/
    %strong= "Notes: "
    = h(domain_block.reason)