1
0
Fork 0
mirror of https://github.com/mastodon/mastodon.git synced 2024-08-20 21:08:15 -07:00

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