mirror of
https://github.com/internetee/registry.git
synced 2025-08-06 01:35:10 +02:00
Add email & nonverified color to contact show
This commit is contained in:
parent
3d444c3a04
commit
48036c660d
5 changed files with 10 additions and 5 deletions
|
@ -85,7 +85,9 @@
|
|||
%th{class: 'col-xs-2'}
|
||||
= sort_link(@q, 'ident', t(:ident))
|
||||
%th{class: 'col-xs-2'}
|
||||
= sort_link(@q, 'email', t(:created_at))
|
||||
= sort_link(@q, 'email', t(:email))
|
||||
%th{class: 'col-xs-2'}
|
||||
= sort_link(@q, 'created_at', t(:created_at))
|
||||
%th{class: 'col-xs-2'}
|
||||
= sort_link(@q, 'registrar_name', t(:registrar_name))
|
||||
%tbody
|
||||
|
@ -94,6 +96,8 @@
|
|||
%td= link_to(contact, admin_contact_path(contact))
|
||||
%td= contact.code
|
||||
%td= ident_for(contact)
|
||||
%td{class: ('text-danger' unless contact.email_verification.success)}
|
||||
= contact.email
|
||||
%td= l(contact.created_at, format: :short)
|
||||
%td
|
||||
- if contact.registrar
|
||||
|
|
|
@ -17,7 +17,8 @@
|
|||
%dd= ident_for(@contact)
|
||||
|
||||
%dt= t(:email)
|
||||
%dd= @contact.email
|
||||
%dd{class: ('text-danger' unless @contact.email_verification.success)}
|
||||
= @contact.email
|
||||
|
||||
%dt= t(:phone)
|
||||
%dd= @contact.phone
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue