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
|
@ -16,16 +16,13 @@
|
|||
.form-group
|
||||
= f.label :ident
|
||||
= f.search_field :ident, value: params[:q][:ident], class: 'form-control', placeholder: t(:ident)
|
||||
.col-md-3
|
||||
.form-group
|
||||
= f.label :phone
|
||||
= f.search_field :phone, value: params[:q][:phone], class: 'form-control', placeholder: t(:phone)
|
||||
.row
|
||||
.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' }
|
||||
.row
|
||||
.col-md-3
|
||||
.col-md-3
|
||||
.col-md-3
|
||||
.form-group
|
||||
= label_tag t(:results_per_page)
|
||||
|
@ -52,14 +49,12 @@
|
|||
= t(:id)
|
||||
%th{class: 'col-xs-2'}
|
||||
= t(:ident)
|
||||
%th{class: 'col-xs-2'}
|
||||
= t(:phone)
|
||||
%th{class: 'col-xs-2'}
|
||||
= t(:registrar)
|
||||
%th{class: 'col-xs-2'}
|
||||
= t(:action_date)
|
||||
%th{class: 'col-xs-2'}
|
||||
= t(:action)
|
||||
%th{class: 'col-xs-2'}
|
||||
= t(:created_at)
|
||||
%tbody
|
||||
- @versions.each do |version|
|
||||
- if version
|
||||
|
@ -70,12 +65,11 @@
|
|||
%td= link_to(contact.name, admin_contact_version_path(version.id))
|
||||
%td= contact.code
|
||||
%td= ident_for(contact)
|
||||
%td= contact.phone
|
||||
%td
|
||||
- if contact.registrar
|
||||
= link_to(contact.registrar, admin_registrar_path(contact.registrar))
|
||||
%td= l(version.created_at, format: :short)
|
||||
%td= version.event
|
||||
%td= l(version.created_at, format: :short)
|
||||
|
||||
|
||||
.row
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue