about summary refs log tree commit diff
path: root/app/views/about/_contact.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/about/_contact.html.haml')
-rw-r--r--app/views/about/_contact.html.haml15
1 files changed, 15 insertions, 0 deletions
diff --git a/app/views/about/_contact.html.haml b/app/views/about/_contact.html.haml
new file mode 100644
index 000000000..d8c54c182
--- /dev/null
+++ b/app/views/about/_contact.html.haml
@@ -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