mirror of
https://github.com/internetee/registry.git
synced 2025-06-10 14:44:47 +02:00
Remove dead code
This commit is contained in:
parent
227031e7b7
commit
c53b39171d
4 changed files with 1 additions and 18 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue