mirror of
https://github.com/internetee/registry.git
synced 2025-05-19 18:59:38 +02:00
Story#120259603 - remove phone number and rename column name in contact history
This commit is contained in:
parent
a1dc8043ec
commit
c0a6737f1f
1 changed files with 6 additions and 12 deletions
|
@ -18,14 +18,11 @@
|
||||||
= f.search_field :ident, value: params[:q][:ident], class: 'form-control', placeholder: t(:ident)
|
= f.search_field :ident, value: params[:q][:ident], class: 'form-control', placeholder: t(:ident)
|
||||||
.col-md-3
|
.col-md-3
|
||||||
.form-group
|
.form-group
|
||||||
= f.label :phone
|
= label_tag :action
|
||||||
= f.search_field :phone, value: params[:q][:phone], class: 'form-control', placeholder: t(:phone)
|
= select_tag '[q][event]', options_for_select([['Update', 'update'], ['Destroy', 'destroy'], ['Create', 'create']], params[:q][:event]), { include_blank:true, multiple: false, placeholder: t(:choose), class: 'form-control js-combobox' }
|
||||||
.row
|
.row
|
||||||
.col-md-3
|
.col-md-3
|
||||||
.col-md-3
|
.col-md-3
|
||||||
.form-group
|
|
||||||
= label_tag :action
|
|
||||||
= select_tag '[q][event]', options_for_select([['Update', 'update'], ['Destroy', 'destroy'], ['Create', 'create']], params[:q][:event]), { include_blank:true, multiple: false, placeholder: t(:choose), class: 'form-control js-combobox' }
|
|
||||||
.col-md-3
|
.col-md-3
|
||||||
.form-group
|
.form-group
|
||||||
= label_tag t(:results_per_page)
|
= label_tag t(:results_per_page)
|
||||||
|
@ -52,14 +49,12 @@
|
||||||
= t(:id)
|
= t(:id)
|
||||||
%th{class: 'col-xs-2'}
|
%th{class: 'col-xs-2'}
|
||||||
= t(:ident)
|
= t(:ident)
|
||||||
%th{class: 'col-xs-2'}
|
|
||||||
= t(:phone)
|
|
||||||
%th{class: 'col-xs-2'}
|
%th{class: 'col-xs-2'}
|
||||||
= t(:registrar)
|
= t(:registrar)
|
||||||
%th{class: 'col-xs-2'}
|
|
||||||
= t(:action_date)
|
|
||||||
%th{class: 'col-xs-2'}
|
%th{class: 'col-xs-2'}
|
||||||
= t(:action)
|
= t(:action)
|
||||||
|
%th{class: 'col-xs-2'}
|
||||||
|
= t(:created_at)
|
||||||
%tbody
|
%tbody
|
||||||
- @versions.each do |version|
|
- @versions.each do |version|
|
||||||
- if version
|
- if version
|
||||||
|
@ -70,12 +65,11 @@
|
||||||
%td= link_to(contact.name, admin_contact_version_path(version.id))
|
%td= link_to(contact.name, admin_contact_version_path(version.id))
|
||||||
%td= contact.code
|
%td= contact.code
|
||||||
%td= ident_for(contact)
|
%td= ident_for(contact)
|
||||||
%td= contact.phone
|
|
||||||
%td
|
%td
|
||||||
- if contact.registrar
|
- if contact.registrar
|
||||||
= link_to(contact.registrar, admin_registrar_path(contact.registrar))
|
= link_to(contact.registrar, admin_registrar_path(contact.registrar))
|
||||||
%td= l(version.created_at, format: :short)
|
|
||||||
%td= version.event
|
%td= version.event
|
||||||
|
%td= l(version.created_at, format: :short)
|
||||||
|
|
||||||
|
|
||||||
.row
|
.row
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue