mirror of
https://github.com/internetee/registry.git
synced 2025-06-12 07:34:45 +02:00
Merge pull request #2117 from internetee/523-long-email-addresses-outside-the-form
Fixes for display long email addresses
This commit is contained in:
commit
578d8b67f9
3 changed files with 34 additions and 28 deletions
|
@ -211,3 +211,9 @@ body.login
|
|||
margin-bottom: 0
|
||||
padding-top: 7px
|
||||
|
||||
.dl-horizontal dt.left_25
|
||||
width: 25%
|
||||
|
||||
.dl-horizontal dd.left_25
|
||||
word-wrap: break-word
|
||||
margin: 0 0 0 110px
|
||||
|
|
|
@ -3,44 +3,44 @@
|
|||
%h3.panel-title= t(:general)
|
||||
.panel-body
|
||||
%dl.dl-horizontal
|
||||
%dt= t(:id)
|
||||
%dd= @contact.code
|
||||
%dt.left_25= t(:id)
|
||||
%dd.left_25= @contact.code
|
||||
|
||||
%dt= Contact.human_attribute_name :auth_info
|
||||
%dd
|
||||
%dt.left_25= Contact.human_attribute_name :auth_info
|
||||
%dd.left_25
|
||||
= tag :input, type: 'text', value: @contact.auth_info, readonly: true,
|
||||
class: 'form-control input-sm'
|
||||
|
||||
%br
|
||||
|
||||
%dt= t(:ident)
|
||||
%dd= ident_for(@contact)
|
||||
%dt.left_25= t(:ident)
|
||||
%dd.left_25= ident_for(@contact)
|
||||
|
||||
%dt= t(:email)
|
||||
%dd= verified_email_span(@contact.email_verification)
|
||||
%dt.left_25= t(:email)
|
||||
%dd.left_25= verified_email_span(@contact.email_verification)
|
||||
|
||||
%dt= t(:phone)
|
||||
%dd= @contact.phone
|
||||
%dt.left_25= t(:phone)
|
||||
%dd.left_25= @contact.phone
|
||||
|
||||
- if @contact.fax
|
||||
%dt= t(:fax)
|
||||
%dd= @contact.fax
|
||||
%dt.left_25= t(:fax)
|
||||
%dd.left_25= @contact.fax
|
||||
|
||||
%br
|
||||
|
||||
%dt= t('.created')
|
||||
%dd
|
||||
%dt.left_25= t('.created')
|
||||
%dd.left_25
|
||||
= l(@contact.created_at, format: :short)
|
||||
by
|
||||
= creator_link(@contact)
|
||||
|
||||
%dt= t('.updated')
|
||||
%dd
|
||||
%dt.left_25= t('.updated')
|
||||
%dd.left_25
|
||||
= l(@contact.updated_at, format: :short)
|
||||
by
|
||||
= updator_link(@contact)
|
||||
|
||||
%dt= t(:registrar_name)
|
||||
%dd
|
||||
%dt.left_25= t(:registrar_name)
|
||||
%dd.left_25
|
||||
- if @contact.registrar.present?
|
||||
= link_to(@contact.registrar, admin_registrar_path(@contact.registrar))
|
||||
|
|
|
@ -3,17 +3,17 @@
|
|||
%h3.panel-title= t('.title')
|
||||
.panel-body
|
||||
%dl.dl-horizontal
|
||||
%dt= t(:name)
|
||||
%dd= link_to @domain.registrant, admin_contact_path(@domain.registrant)
|
||||
%dt.left_25= t(:name)
|
||||
%dd.left_25= link_to @domain.registrant, admin_contact_path(@domain.registrant)
|
||||
|
||||
%dt= t(:id)
|
||||
%dd= @domain.registrant.code
|
||||
%dt.left_25= t(:id)
|
||||
%dd.left_25= @domain.registrant.code
|
||||
|
||||
%dt= t(:identity_code)
|
||||
%dd= @domain.registrant.ident
|
||||
%dt.left_25= t(:identity_code)
|
||||
%dd.left_25= @domain.registrant.ident
|
||||
|
||||
%dt= t(:email)
|
||||
%dd= @domain.registrant.email
|
||||
%dt.left_25= t(:email)
|
||||
%dd.left_25= @domain.registrant.email
|
||||
|
||||
%dt= t(:phone)
|
||||
%dd= @domain.registrant.phone
|
||||
%dt.left_25= t(:phone)
|
||||
%dd.left_25= @domain.registrant.phone
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue