Skip to content
Snippets Groups Projects
Commit f91284d2 authored by Yamagishi Kazutoshi's avatar Yamagishi Kazutoshi Committed by Eugen Rochko
Browse files

Do not create empty a element when there is no e-mail (#4455)

Empty a element is created when there is no business e-mail input.
parent feadf755
No related branches found
No related tags found
No related merge requests found
......@@ -147,9 +147,13 @@
white-space: nowrap;
overflow: hidden;
a {
a,
span {
font-weight: 400;
color: lighten($ui-base-color, 34%);
}
a {
text-decoration: none;
}
}
......
......@@ -2,7 +2,10 @@
.panel-header
= succeed ':' do
= t 'about.contact'
= mail_to contact.site_contact_email.presence, nil, :title => contact.site_contact_email.presence
- if contact.site_contact_email.present?
= mail_to contact.site_contact_email, nil, title: contact.site_contact_email
- else
%span= t 'about.contact_unavailable'
.panel-body
- if contact.contact_account
.owner
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment