About page contact email (#1839)
* Correct site_contact_email typo * Separate about more page into partials, add specs
This commit is contained in:
parent
7b10794afb
commit
3b8908c114
7 changed files with 90 additions and 29 deletions
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
|
Loading…
Add table
Add a link
Reference in a new issue