diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2017-07-24 15:09:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-24 15:09:08 +0200 |
commit | 2374d63536fd9459243a235763c87f8e9fdfc581 (patch) | |
tree | 196082f0d80b8161a8de24277bc53f6867111397 /app/views/about/_contact.html.haml | |
parent | 117eb3b2bc9253bed6c8df245a1df65404cedeb6 (diff) |
Redesign extended information page (#4322)
* Redesign extended information page * Remove unused keys * Add $ui-base-lighter-color variable to SCSS
Diffstat (limited to 'app/views/about/_contact.html.haml')
-rw-r--r-- | app/views/about/_contact.html.haml | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/app/views/about/_contact.html.haml b/app/views/about/_contact.html.haml index 292a58575..4394aebdd 100644 --- a/app/views/about/_contact.html.haml +++ b/app/views/about/_contact.html.haml @@ -1,5 +1,8 @@ .panel - .panel-header= t 'about.contact' + .panel-header + = succeed ':' do + = t 'about.contact' + %span{ title: contact.site_contact_email.presence }= contact.site_contact_email.presence .panel-body - if contact.contact_account .owner @@ -8,8 +11,9 @@ = link_to TagManager.instance.url_for(contact.contact_account) do %span.display_name.emojify= display_name(contact.contact_account) %span.username @#{contact.contact_account.acct} - - - unless contact.site_contact_email.blank? - .contact-email - = t 'about.business_email' - %strong= contact.site_contact_email + - else + .owner + .avatar= image_tag full_asset_url('avatars/original/missing.png') + .name + %span.display_name= t 'about.contact_missing' + %span.username= t 'about.contact_unavailable' |