diff --git a/app/assets/stylesheets/registrant/registrant.sass b/app/assets/stylesheets/registrant/registrant.sass
index 6937c4b49..ebe9f4974 100644
--- a/app/assets/stylesheets/registrant/registrant.sass
+++ b/app/assets/stylesheets/registrant/registrant.sass
@@ -1,6 +1,7 @@
html
position: relative
min-height: 100%
+ overflow-y: scroll
body
padding-bottom: 130px
@@ -30,9 +31,6 @@ h1, h2, h3, h4
color: white !important
background-size: 100%
-.semifooter
- padding: 42px 0 80px 0
-
.confirmation
padding: 40px 0 20px 0
.column-keys
diff --git a/app/controllers/registrant/contacts_controller.rb b/app/controllers/registrant/contacts_controller.rb
index 9defa8bd6..b2ebad344 100644
--- a/app/controllers/registrant/contacts_controller.rb
+++ b/app/controllers/registrant/contacts_controller.rb
@@ -1,5 +1,6 @@
class Registrant::ContactsController < RegistrantController
helper_method :domain_ids
+ helper_method :domain
def show
@contact = Contact.where(id: contacts).find_by(id: params[:id])
@@ -25,4 +26,19 @@ class Registrant::ContactsController < RegistrantController
BusinessRegistryCache.fetch_by_ident_and_cc(ident, ident_cc).associated_domain_ids
end
end
-end
+
+ def domain
+ current_user_domains.find(params[:domain_id])
+ end
+
+ def current_user_domains
+ ident_cc, ident = current_registrant_user.registrant_ident.split '-'
+ begin
+ BusinessRegistryCache.fetch_associated_domains ident, ident_cc
+ rescue Soap::Arireg::NotAvailableError => error
+ flash[:notice] = I18n.t(error.json[:message])
+ Rails.logger.fatal("[EXCEPTION] #{error.to_s}")
+ current_registrant_user.domains
+ end
+ end
+end
\ No newline at end of file
diff --git a/app/views/registrant/contacts/show.html.erb b/app/views/registrant/contacts/show.html.erb
index 6d08feccc..f9a8a86fa 100644
--- a/app/views/registrant/contacts/show.html.erb
+++ b/app/views/registrant/contacts/show.html.erb
@@ -1,3 +1,9 @@
+
<%= link_to domain, registrant_domain_path(domain) %> |
- <%= link_to domain.registrant.name, registrant_contact_path(domain.registrant) %> |
+
+ <%= link_to domain.registrant.name,
+ registrant_domain_contact_path(domain, domain.registrant) %>
+ |
<%= l domain.expire_time %> |
<%= link_to domain.registrar, registrant_registrar_path(domain.registrar) %> |
diff --git a/app/views/registrant/domains/index.html.erb b/app/views/registrant/domains/index.html.erb
index 43a9122eb..acb9afcff 100644
--- a/app/views/registrant/domains/index.html.erb
+++ b/app/views/registrant/domains/index.html.erb
@@ -76,7 +76,7 @@