logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe
commit: cde0476ca2d3338a0e4a9a480d978d0d61b61998
parent: fcb5a85cdd21b8a48c16cd02885933bcbdb07ec2
Author: Eugen Rochko <eugen@zeonfederated.com>
Date:   Tue, 17 Jan 2017 20:11:16 +0100

Fix #487

Diffstat:

Mapp/views/about/more.html.haml20+++++++++++---------
1 file changed, 11 insertions(+), 9 deletions(-)

diff --git a/app/views/about/more.html.haml b/app/views/about/more.html.haml @@ -31,16 +31,18 @@ .panel .panel-header= t 'about.contact' .panel-body - .owner - .avatar= image_tag @contact_account.avatar.url - .name - = link_to TagManager.instance.url_for(@contact_account) do - %span.display_name.emojify= display_name(@contact_account) - %span.username= "@#{@contact_account.acct}" + - if @contact_account + .owner + .avatar= image_tag @contact_account.avatar.url + .name + = link_to TagManager.instance.url_for(@contact_account) do + %span.display_name.emojify= display_name(@contact_account) + %span.username= "@#{@contact_account.acct}" - .contact-email - = t 'about.business_email' - %strong= @contact_email + - unless @contact_email.blank? + .contact-email + = t 'about.business_email' + %strong= @contact_email .panel .panel-header= t 'about.links' .panel-list