108869472-filter_and_view_fixes

This commit is contained in:
Stas 2016-07-08 11:28:27 +03:00
parent 8d35fe9e77
commit b013acad7c
4 changed files with 11 additions and 5 deletions

View file

@ -69,6 +69,8 @@
- if contact.nil? && ver = ContactVersion.where(item_id: domain.registrant_id).last
- contact = Contact.new(ver.object.to_h.merge(ver.object_changes.to_h.each_with_object({}){|(k,v), o| o[k]=v.last } ))
= contact.try(:name)
= " ".html_safe
= "(#{t(:deleted)})"
%td
- if domain.registrar
= link_to(domain.registrar, admin_registrar_path(domain.registrar))