Renamed contact code to id #2831

This commit is contained in:
Priit Tark 2015-08-13 15:58:32 +03:00
parent 07f89f8ce5
commit d27bad73b2
12 changed files with 14 additions and 14 deletions

View file

@ -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'}

View file

@ -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)

View file

@ -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|

View file

@ -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)

View file

@ -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|

View file

@ -29,7 +29,7 @@
%dt= t(:reference_no)
%dd= @registrar.reference_no
%dt= t(:code)
%dt= t(:id)
%dd= @registrar.code
.col-md-6

View file

@ -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'

View file

@ -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

View file

@ -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)

View file

@ -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']),

View file

@ -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

View file

@ -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