mirror of
https://github.com/funamitech/mastodon
synced 2024-12-22 18:48:43 +09:00
3b8908c114
* Correct site_contact_email typo * Separate about more page into partials, add specs
33 lines
1.1 KiB
Plaintext
33 lines
1.1 KiB
Plaintext
- content_for :page_title do
|
|
#{Rails.configuration.x.local_domain}
|
|
|
|
.wrapper.thicc
|
|
.sidebar-layout
|
|
.main
|
|
.panel
|
|
%h2= Rails.configuration.x.local_domain
|
|
|
|
- unless @instance_presenter.site_description.blank?
|
|
%p= @instance_presenter.site_description.html_safe
|
|
|
|
.information-board
|
|
.section
|
|
%span= t 'about.user_count_before'
|
|
%strong= number_with_delimiter @instance_presenter.user_count
|
|
%span= t 'about.user_count_after'
|
|
.section
|
|
%span= t 'about.status_count_before'
|
|
%strong= number_with_delimiter @instance_presenter.status_count
|
|
%span= t 'about.status_count_after'
|
|
.section
|
|
%span= t 'about.domain_count_before'
|
|
%strong= number_with_delimiter @instance_presenter.domain_count
|
|
%span= t 'about.domain_count_after'
|
|
|
|
- unless @instance_presenter.site_extended_description.blank?
|
|
.panel= @instance_presenter.site_extended_description.html_safe
|
|
|
|
.sidebar
|
|
= render partial: 'contact', object: @instance_presenter
|
|
= render 'links'
|