mirror of
https://github.com/internetee/registry.git
synced 2025-06-13 08:04: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
|
margin-bottom: 0
|
||||||
padding-top: 7px
|
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)
|
%h3.panel-title= t(:general)
|
||||||
.panel-body
|
.panel-body
|
||||||
%dl.dl-horizontal
|
%dl.dl-horizontal
|
||||||
%dt= t(:id)
|
%dt.left_25= t(:id)
|
||||||
%dd= @contact.code
|
%dd.left_25= @contact.code
|
||||||
|
|
||||||
%dt= Contact.human_attribute_name :auth_info
|
%dt.left_25= Contact.human_attribute_name :auth_info
|
||||||
%dd
|
%dd.left_25
|
||||||
= tag :input, type: 'text', value: @contact.auth_info, readonly: true,
|
= tag :input, type: 'text', value: @contact.auth_info, readonly: true,
|
||||||
class: 'form-control input-sm'
|
class: 'form-control input-sm'
|
||||||
|
|
||||||
%br
|
%br
|
||||||
|
|
||||||
%dt= t(:ident)
|
%dt.left_25= t(:ident)
|
||||||
%dd= ident_for(@contact)
|
%dd.left_25= ident_for(@contact)
|
||||||
|
|
||||||
%dt= t(:email)
|
%dt.left_25= t(:email)
|
||||||
%dd= verified_email_span(@contact.email_verification)
|
%dd.left_25= verified_email_span(@contact.email_verification)
|
||||||
|
|
||||||
%dt= t(:phone)
|
%dt.left_25= t(:phone)
|
||||||
%dd= @contact.phone
|
%dd.left_25= @contact.phone
|
||||||
|
|
||||||
- if @contact.fax
|
- if @contact.fax
|
||||||
%dt= t(:fax)
|
%dt.left_25= t(:fax)
|
||||||
%dd= @contact.fax
|
%dd.left_25= @contact.fax
|
||||||
|
|
||||||
%br
|
%br
|
||||||
|
|
||||||
%dt= t('.created')
|
%dt.left_25= t('.created')
|
||||||
%dd
|
%dd.left_25
|
||||||
= l(@contact.created_at, format: :short)
|
= l(@contact.created_at, format: :short)
|
||||||
by
|
by
|
||||||
= creator_link(@contact)
|
= creator_link(@contact)
|
||||||
|
|
||||||
%dt= t('.updated')
|
%dt.left_25= t('.updated')
|
||||||
%dd
|
%dd.left_25
|
||||||
= l(@contact.updated_at, format: :short)
|
= l(@contact.updated_at, format: :short)
|
||||||
by
|
by
|
||||||
= updator_link(@contact)
|
= updator_link(@contact)
|
||||||
|
|
||||||
%dt= t(:registrar_name)
|
%dt.left_25= t(:registrar_name)
|
||||||
%dd
|
%dd.left_25
|
||||||
- if @contact.registrar.present?
|
- if @contact.registrar.present?
|
||||||
= link_to(@contact.registrar, admin_registrar_path(@contact.registrar))
|
= link_to(@contact.registrar, admin_registrar_path(@contact.registrar))
|
||||||
|
|
|
@ -3,17 +3,17 @@
|
||||||
%h3.panel-title= t('.title')
|
%h3.panel-title= t('.title')
|
||||||
.panel-body
|
.panel-body
|
||||||
%dl.dl-horizontal
|
%dl.dl-horizontal
|
||||||
%dt= t(:name)
|
%dt.left_25= t(:name)
|
||||||
%dd= link_to @domain.registrant, admin_contact_path(@domain.registrant)
|
%dd.left_25= link_to @domain.registrant, admin_contact_path(@domain.registrant)
|
||||||
|
|
||||||
%dt= t(:id)
|
%dt.left_25= t(:id)
|
||||||
%dd= @domain.registrant.code
|
%dd.left_25= @domain.registrant.code
|
||||||
|
|
||||||
%dt= t(:identity_code)
|
%dt.left_25= t(:identity_code)
|
||||||
%dd= @domain.registrant.ident
|
%dd.left_25= @domain.registrant.ident
|
||||||
|
|
||||||
%dt= t(:email)
|
%dt.left_25= t(:email)
|
||||||
%dd= @domain.registrant.email
|
%dd.left_25= @domain.registrant.email
|
||||||
|
|
||||||
%dt= t(:phone)
|
%dt.left_25= t(:phone)
|
||||||
%dd= @domain.registrant.phone
|
%dd.left_25= @domain.registrant.phone
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue