Remove dead code

This commit is contained in:
Artur Beljajev 2019-10-16 19:17:41 +03:00
parent 227031e7b7
commit c53b39171d
4 changed files with 1 additions and 18 deletions

View file

@ -1,5 +1,4 @@
- panel_class = contact.errors.messages[:statuses] ? 'panel-danger' : 'panel-default'
#contact_statuses.panel{class: panel_class}
#contact_statuses.panel{class: 'panel-default'}
.panel-heading.clearfix
= t(:statuses)
.table-responsive
@ -13,9 +12,3 @@
%tr
%td= status
%td= contact.status_notes[status]
- if contact.errors.messages[:statuses]
%tfoot
- @domain.errors.messages[:statuses].each do |s|
%tr
%td{colspan: 4}= s

View file

@ -1,9 +0,0 @@
if @disclosure_policy
@disclosure_policy.each do |k,v|
xml.tag!('contact:disclose', 'flag' => k) do
v.each do |attr|
xml.tag!("contact:#{attr}")
end
end
end
end

View file

@ -75,7 +75,6 @@ xml.epp_head do
xml.tag!('contact:pw', 'No access')
end
end
# xml << render('/epp/contacts/disclosure_policy')
end
end
if can? :view_full_info, @contact, @password