diff --git a/app/views/admin/contacts/index.haml b/app/views/admin/contacts/index.haml index 45eaf797a..a633c86eb 100644 --- a/app/views/admin/contacts/index.haml +++ b/app/views/admin/contacts/index.haml @@ -22,7 +22,7 @@ %th{class: 'col-xs-2'} = sort_link(@q, 'name', t(:name)) %th{class: 'col-xs-2'} - = sort_link(@q, 'code', t(:code)) + = sort_link(@q, 'code', t(:id)) %th{class: 'col-xs-2'} = sort_link(@q, 'ident', t(:ident)) %th{class: 'col-xs-2'} diff --git a/app/views/admin/contacts/partials/_general.haml b/app/views/admin/contacts/partials/_general.haml index 066b70ae5..194c5feb5 100644 --- a/app/views/admin/contacts/partials/_general.haml +++ b/app/views/admin/contacts/partials/_general.haml @@ -3,7 +3,7 @@ %h3.panel-title= t(:general) .panel-body %dl.dl-horizontal - %dt= t(:code) + %dt= t(:id) %dd= @contact.code %dt= t(:password) diff --git a/app/views/admin/domains/partials/_admin_contacts.haml b/app/views/admin/domains/partials/_admin_contacts.haml index 96e8581d4..0db8f6e32 100644 --- a/app/views/admin/domains/partials/_admin_contacts.haml +++ b/app/views/admin/domains/partials/_admin_contacts.haml @@ -7,7 +7,7 @@ %thead %tr %th{class: 'col-xs-4'}= t(:name) - %th{class: 'col-xs-4'}= t(:code) + %th{class: 'col-xs-4'}= t(:id) %th{class: 'col-xs-4'}= t(:email) %tbody - @domain.admin_contacts.each do |ac| diff --git a/app/views/admin/domains/partials/_owner.haml b/app/views/admin/domains/partials/_owner.haml index e005183fb..7f499f86b 100644 --- a/app/views/admin/domains/partials/_owner.haml +++ b/app/views/admin/domains/partials/_owner.haml @@ -6,7 +6,7 @@ %dt= t(:name) %dd= link_to(@domain.registrant, [:admin, @domain.registrant]) - %dt= t(:code) + %dt= t(:id) %dd= @domain.registrant_code %dt= t(:identity_code) diff --git a/app/views/admin/domains/partials/_tech_contacts.haml b/app/views/admin/domains/partials/_tech_contacts.haml index 06c9ef95f..20badbea8 100644 --- a/app/views/admin/domains/partials/_tech_contacts.haml +++ b/app/views/admin/domains/partials/_tech_contacts.haml @@ -7,7 +7,7 @@ %thead %tr %th{class: 'col-xs-4'}= t(:name) - %th{class: 'col-xs-4'}= t(:code) + %th{class: 'col-xs-4'}= t(:id) %th{class: 'col-xs-4'}= t(:email) %tbody - @domain.tech_contacts.each do |tc| diff --git a/app/views/admin/registrars/show.haml b/app/views/admin/registrars/show.haml index b0102344b..d41a0f9fd 100644 --- a/app/views/admin/registrars/show.haml +++ b/app/views/admin/registrars/show.haml @@ -29,7 +29,7 @@ %dt= t(:reference_no) %dd= @registrar.reference_no - %dt= t(:code) + %dt= t(:id) %dd= @registrar.code .col-md-6 diff --git a/app/views/registrar/contacts/form_partials/_code.haml b/app/views/registrar/contacts/form_partials/_code.haml index a9d6e131f..f4bc2733f 100644 --- a/app/views/registrar/contacts/form_partials/_code.haml +++ b/app/views/registrar/contacts/form_partials/_code.haml @@ -1,9 +1,9 @@ .panel.panel-default .panel-heading.clearfix - .pull-left= t(:code) + .pull-left= t(:id) .panel-body .form-group .col-md-2.control-label - = f.label :code + = f.label :code, t(:id) .col-md-10 = f.text_field :code, class: 'form-control' diff --git a/app/views/registrar/contacts/index.haml b/app/views/registrar/contacts/index.haml index 6d9cf7811..401df706d 100644 --- a/app/views/registrar/contacts/index.haml +++ b/app/views/registrar/contacts/index.haml @@ -8,7 +8,7 @@ %thead %tr %th{class: 'col-xs-3'}= t(:name) - %th{class: 'col-xs-3'}= t(:code) + %th{class: 'col-xs-3'}= t(:id) %th{class: 'col-xs-3'}= t(:ident) %th{class: 'col-xs-3'}= t(:actions) %tbody diff --git a/app/views/registrar/contacts/partials/_general.haml b/app/views/registrar/contacts/partials/_general.haml index c4804fe53..b0728120c 100644 --- a/app/views/registrar/contacts/partials/_general.haml +++ b/app/views/registrar/contacts/partials/_general.haml @@ -3,7 +3,7 @@ %h3.panel-title= t(:general) .panel-body %dl.dl-horizontal - %dt= t(:contact_code) + %dt= t(:id) %dd= @contact.id %dt= t(:password) diff --git a/app/views/registrar/domains/form_partials/_contacts.haml b/app/views/registrar/domains/form_partials/_contacts.haml index cf9383748..5781d5d45 100644 --- a/app/views/registrar/domains/form_partials/_contacts.haml +++ b/app/views/registrar/domains/form_partials/_contacts.haml @@ -16,7 +16,7 @@ .form-group .col-md-3.control-label - = label_tag "domain_contacts_attributes_#{k}_code", t(:contact_code), class: 'required' + = label_tag "domain_contacts_attributes_#{k}_code", t(:id), class: 'required' .col-md-7.has-feedback = select_tag "domain[contacts_attributes][#{k}][code]", options_for_select(@contacts_autocomplete_map, selected: v['code']), diff --git a/app/views/registrar/domains/partials/_contacts.haml b/app/views/registrar/domains/partials/_contacts.haml index 6c5bdeb86..536f256b7 100644 --- a/app/views/registrar/domains/partials/_contacts.haml +++ b/app/views/registrar/domains/partials/_contacts.haml @@ -6,7 +6,7 @@ %thead %tr %th{class: 'col-xs-4'}= t(:type) - %th{class: 'col-xs-8'}= t(:code) + %th{class: 'col-xs-8'}= t(:id) %tbody - @data.css('contact').each do |x| %tr diff --git a/config/locales/en.yml b/config/locales/en.yml index 8052ce0aa..e0fe3ef55 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -657,7 +657,7 @@ en: m_id: 'M-ID' pending_removed: Pending was successfully removed. pending_applied: Pending was successfully applied. - something_wrong: Not success, something went wrong! + something_wrong: Not success, something went wrong failure: Not success not_found: Not found no_connection_to_registry: Connection issue to the registry EPP or REPP server! Please try again later. @@ -909,4 +909,4 @@ en: poll_pending_delete_confirmed_by_registrant: 'Registrant confirmed domain deletion' manage: Manage pending_epp: Pending epp - + id: ID