闭社主体 forked from https://github.com/tootsuite/mastodon
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.

33 lines
1.1 KiB

  1. - content_for :page_title do
  2. = site_hostname
  3. .wrapper.thicc
  4. .sidebar-layout
  5. .main
  6. .panel
  7. %h2= site_hostname
  8. - unless @instance_presenter.site_description.blank?
  9. %p= @instance_presenter.site_description.html_safe
  10. .information-board
  11. .section
  12. %span= t 'about.user_count_before'
  13. %strong= number_with_delimiter @instance_presenter.user_count
  14. %span= t 'about.user_count_after'
  15. .section
  16. %span= t 'about.status_count_before'
  17. %strong= number_with_delimiter @instance_presenter.status_count
  18. %span= t 'about.status_count_after'
  19. .section
  20. %span= t 'about.domain_count_before'
  21. %strong= number_with_delimiter @instance_presenter.domain_count
  22. %span= t 'about.domain_count_after'
  23. - unless @instance_presenter.site_extended_description.blank?
  24. .panel= @instance_presenter.site_extended_description.html_safe
  25. .sidebar
  26. = render 'contact', contact: @instance_presenter
  27. = render 'links', instance: @instance_presenter
  28. = render 'version', version: @instance_presenter