1
0
mirror of https://github.com/mastodon/mastodon synced 2024-12-24 11:38:18 +09:00
mastodon/app/views/about/more.html.haml
yhirano 48594b18e6 Added haml-lint and fix warnings (#2773)
* add haml_lint to Gemfile

* add .haml-lint.yml

* fix warnings of haml_lint
2017-05-08 03:35:25 +02:00

34 lines
1.1 KiB
Plaintext

- content_for :page_title do
= site_hostname
.wrapper.thicc
.sidebar-layout
.main
.panel
%h2= site_hostname
- unless @instance_presenter.site_description.blank?
%p!= @instance_presenter.site_description
.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
.sidebar
= render 'contact', contact: @instance_presenter
= render 'links', instance: @instance_presenter
= render 'version', version: @instance_presenter