About page contact email (#1839)
* Correct site_contact_email typo * Separate about more page into partials, add specs
This commit is contained in:
15
app/views/about/_contact.html.haml
Normal file
15
app/views/about/_contact.html.haml
Normal file
@@ -0,0 +1,15 @@
|
||||
.panel
|
||||
.panel-header= t 'about.contact'
|
||||
.panel-body
|
||||
- if contact.contact_account
|
||||
.owner
|
||||
.avatar= image_tag contact.contact_account.avatar.url
|
||||
.name
|
||||
= link_to TagManager.instance.url_for(contact.contact_account) do
|
||||
%span.display_name.emojify= display_name(contact.contact_account)
|
||||
%span.username= "@#{contact.contact_account.acct}"
|
||||
|
||||
- if contact.site_contact_email
|
||||
.contact-email
|
||||
= t 'about.business_email'
|
||||
%strong= contact.site_contact_email
|
||||
Reference in New Issue
Block a user