mirror of
https://github.com/internetee/registry.git
synced 2025-08-05 09:21:43 +02:00
Add thirs status - verification failed
This commit is contained in:
parent
f8eea08357
commit
56ac816dd1
13 changed files with 96 additions and 40 deletions
|
@ -65,8 +65,8 @@
|
|||
= check_box_tag :only_no_country_code, '1',params[:only_no_country_code].eql?('1'), style: 'width:auto;height:auto;float:right'
|
||||
.col-md-3
|
||||
.form-group
|
||||
= label_tag :email_not_verified, "Email not verified"
|
||||
= check_box_tag :email_not_verified, '1',params[:email_not_verified].eql?('1'), style: 'width:auto;height:auto;float:right'
|
||||
= label_tag :email_verification_failed, "Email verification failed"
|
||||
= check_box_tag :email_verification_failed, '1',params[:email_verification_failed].eql?('1'), style: 'width:auto;height:auto;float:right'
|
||||
|
||||
.row
|
||||
.col-md-3{style: 'padding-top: 25px;float:right;'}
|
||||
|
@ -100,8 +100,7 @@
|
|||
%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= verified_email_span(contact.email_verification)
|
||||
%td= l(contact.created_at, format: :short)
|
||||
%td
|
||||
- if contact.registrar
|
||||
|
|
|
@ -17,8 +17,7 @@
|
|||
%dd= ident_for(@contact)
|
||||
|
||||
%dt= t(:email)
|
||||
%dd{class: ('text-danger' unless @contact.email_verification&.success)}
|
||||
= @contact.email
|
||||
%dd= verified_email_span(@contact.email_verification)
|
||||
|
||||
%dt= t(:phone)
|
||||
%dd= @contact.phone
|
||||
|
|
|
@ -49,13 +49,9 @@
|
|||
<%= "#{x.test_registrar}" %>
|
||||
</td>
|
||||
<td>
|
||||
<span class=<%= 'text-danger' unless x.email_verification&.success %>>
|
||||
<%= "#{x.email}" %>
|
||||
</span>
|
||||
<%= verified_email_span(x.email_verification) %>
|
||||
<% if x[:billing_email].present? %>
|
||||
<span class=<%= 'text-danger' unless x.billing_email_verification&.success %>>
|
||||
<%= "#{x[:billing_email]}" %>
|
||||
</span>
|
||||
<%= verified_email_span(x.billing_email_verification) %>
|
||||
<% end %>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
|
@ -15,8 +15,8 @@
|
|||
<dd><%= registrar.accounting_customer_code %></dd>
|
||||
|
||||
<dt><%= Registrar.human_attribute_name :billing_email %></dt>
|
||||
<dd class=<%= 'text-danger' unless @registrar.billing_email_verification&.success%>>
|
||||
<%= registrar.billing_email %>
|
||||
<dd>
|
||||
<%= verified_email_span(registrar.billing_email_verification) %>
|
||||
</dd>
|
||||
|
||||
<dt><%= Registrar.human_attribute_name :reference_no %></dt>
|
||||
|
|
|
@ -15,8 +15,8 @@
|
|||
<dd><%= @registrar.phone %></dd>
|
||||
|
||||
<dt><%= Registrar.human_attribute_name :email %></dt>
|
||||
<dd class=<%= 'text-danger' unless @registrar.email_verification&.success %>>
|
||||
<%= @registrar.email %>
|
||||
<dd>
|
||||
<%= verified_email_span(@registrar.email_verification) %>
|
||||
</dd>
|
||||
</dl>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue