mirror of
https://github.com/internetee/registry.git
synced 2025-06-11 23:24:48 +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-default'}
|
||||||
#contact_statuses.panel{class: panel_class}
|
|
||||||
.panel-heading.clearfix
|
.panel-heading.clearfix
|
||||||
= t(:statuses)
|
= t(:statuses)
|
||||||
.table-responsive
|
.table-responsive
|
||||||
|
@ -13,9 +12,3 @@
|
||||||
%tr
|
%tr
|
||||||
%td= status
|
%td= status
|
||||||
%td= contact.status_notes[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')
|
xml.tag!('contact:pw', 'No access')
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
# xml << render('/epp/contacts/disclosure_policy')
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
if can? :view_full_info, @contact, @password
|
if can? :view_full_info, @contact, @password
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue