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.

56 lines
1.9 KiB

7 years ago
7 years ago
  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. - if @contact_account
  30. .owner
  31. .avatar= image_tag @contact_account.avatar.url
  32. .name
  33. = link_to TagManager.instance.url_for(@contact_account) do
  34. %span.display_name.emojify= display_name(@contact_account)
  35. %span.username= "@#{@contact_account.acct}"
  36. - unless @contact_email.blank?
  37. .contact-email
  38. = t 'about.business_email'
  39. %strong= @contact_email
  40. .panel
  41. .panel-header= t 'about.links'
  42. .panel-list
  43. %ul
  44. - if user_signed_in?
  45. %li= link_to t('about.get_started'), root_path
  46. - else
  47. %li= link_to t('about.get_started'), new_user_registration_path
  48. %li= link_to t('auth.login'), new_user_session_path
  49. %li= link_to t('about.terms'), terms_path
  50. %li= link_to t('about.source_code'), 'https://github.com/tootsuite/mastodon'