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

lolsob-rspec
STJrInuyasha 2017-06-07 00:57:47 -07:00 committed by Eugen Rochko
parent 78a63b4aa9
commit 8e32541b74
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