From 438f77a9816c7f5545107e7f7b53b43e39cccc1a Mon Sep 17 00:00:00 2001 From: Stas Date: Tue, 26 Jan 2016 18:12:31 +0200 Subject: [PATCH] 105842700-roles_sort_contact_part --- app/views/registrant/contacts/partials/_domains.haml | 2 +- app/views/registrant/domains/partials/_owner.haml | 2 +- app/views/registrant/domains/show.haml | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/views/registrant/contacts/partials/_domains.haml b/app/views/registrant/contacts/partials/_domains.haml index d0180532d..01b52c415 100644 --- a/app/views/registrant/contacts/partials/_domains.haml +++ b/app/views/registrant/contacts/partials/_domains.haml @@ -18,7 +18,7 @@ %th{class: 'col-xs-3'}=custom_sort_link t(:domain_name), :name %th{class: 'col-xs-3'}=custom_sort_link t(:registrar), :registrar_name %th{class: 'col-xs-3'}=custom_sort_link t(:valid_to), :valid_to - %th{class: 'col-xs-3'}= t(:roles) + %th{class: 'col-xs-3'}=custom_sort_link t(:roles), :roles %tbody - domains.each do |x| %tr diff --git a/app/views/registrant/domains/partials/_owner.haml b/app/views/registrant/domains/partials/_owner.haml index a7c678d56..f0662fd97 100644 --- a/app/views/registrant/domains/partials/_owner.haml +++ b/app/views/registrant/domains/partials/_owner.haml @@ -4,7 +4,7 @@ .panel-body %dl.dl-horizontal %dt= t(:name) - %dd= link_to(@domain.registrant, [:registrar, @domain.registrant]) + %dd= link_to(@domain.registrant, [:registrant, @domain.registrant]) %dt= t(:id) %dd= @domain.registrant_code diff --git a/app/views/registrant/domains/show.haml b/app/views/registrant/domains/show.haml index 0c1ceb48e..746b1d8d5 100644 --- a/app/views/registrant/domains/show.haml +++ b/app/views/registrant/domains/show.haml @@ -3,6 +3,7 @@ .row .col-md-6= render 'registrant/domains/partials/general' + .col-md-6= render 'registrant/domains/partials/owner' .row .col-md-12= render 'registrant/domains/partials/tech_contacts' .row