You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

54 lines
1.8 KiB

  1. - content_for :page_title do
  2. #{Rails.configuration.x.local_domain}
  3. .wrapper.thicc
  4. .sidebar-layout
  5. .main
  6. .panel
  7. %h2= Rails.configuration.x.local_domain
  8. - unless @description.blank?
  9. %p= @description.html_safe
  10. .information-board
  11. .section
  12. %span= t 'about.user_count_before'
  13. %strong= number_with_delimiter @user_count
  14. %span= t 'about.user_count_after'
  15. .section
  16. %span= t 'about.status_count_before'
  17. %strong= number_with_delimiter @status_count
  18. %span= t 'about.status_count_after'
  19. .section
  20. %span= t 'about.domain_count_before'
  21. %strong= number_with_delimiter @domain_count
  22. %span= t 'about.domain_count_after'
  23. - unless @extended_description.blank?
  24. .panel= @extended_description.html_safe
  25. .sidebar
  26. .panel
  27. .panel-header= t 'about.contact'
  28. .panel-body
  29. .owner
  30. .avatar= image_tag @contact_account.avatar.url
  31. .name
  32. = link_to TagManager.instance.url_for(@contact_account) do
  33. %span.display_name.emojify= display_name(@contact_account)
  34. %span.username= "@#{@contact_account.acct}"
  35. .contact-email
  36. = t 'about.business_email'
  37. %strong= @contact_email
  38. .panel
  39. .panel-header= t 'about.links'
  40. .panel-list
  41. %ul
  42. - if user_signed_in?
  43. %li= link_to t('about.get_started'), root_path
  44. - else
  45. %li= link_to t('about.get_started'), new_user_registration_path
  46. %li= link_to t('auth.login'), new_user_session_path
  47. %li= link_to t('about.terms'), terms_path
  48. %li= link_to t('about.source_code'), 'https://github.com/tootsuite/mastodon'