Don't show business e-mail if it's blank (#3619)

This commit is contained in:
STJrInuyasha 2017-06-07 00:57:47 -07:00 committed by Eugen Rochko
parent 0026ba2751
commit 2d91944285

View File

@ -9,7 +9,7 @@
%span.display_name.emojify= display_name(contact.contact_account)
%span.username @#{contact.contact_account.acct}
- if contact.site_contact_email
- unless contact.site_contact_email.blank?
.contact-email
= t 'about.business_email'
%strong= contact.site_contact_email