From 6ca6ff2bf8b38beab28d625fa53e3fafc4f0b0b9 Mon Sep 17 00:00:00 2001 From: Stas Date: Tue, 17 Nov 2015 15:22:35 +0200 Subject: [PATCH] 105361584-domains_list_hided --- app/views/registrar/contacts/show.haml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/views/registrar/contacts/show.haml b/app/views/registrar/contacts/show.haml index 96faa4ecc..9fcbe7942 100644 --- a/app/views/registrar/contacts/show.haml +++ b/app/views/registrar/contacts/show.haml @@ -10,7 +10,8 @@ .row .col-md-12= render 'registrar/contacts/partials/statuses', statuses: @contact.statuses .row - .col-md-12= render 'admin/contacts/partials/domains', contact: Contact.find_by(code: params[:id]) + - if @contact.ident.present? + .col-md-12= render 'admin/contacts/partials/domains', contact: Contact.find_by(code: params[:id]) - else .row