From 2d9194428529a9e21ec160bf34e052148c742dea Mon Sep 17 00:00:00 2001 From: STJrInuyasha Date: Wed, 7 Jun 2017 00:57:47 -0700 Subject: [PATCH] Don't show business e-mail if it's blank (#3619) --- app/views/about/_contact.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/about/_contact.html.haml b/app/views/about/_contact.html.haml index 39e4e98ec17..292a58575ae 100644 --- a/app/views/about/_contact.html.haml +++ b/app/views/about/_contact.html.haml @@ -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