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

pull/3624/head
STJrInuyasha 2017-06-07 00:57:47 -07:00 committed by Eugen Rochko
parent 0026ba2751
commit 2d91944285
1 changed files with 1 additions and 1 deletions

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