mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-23 23:58:06 +01:00
a0ed88a99b
* Adds version. * Cleans up code. * Removes standalone endpoint and adds version to instance endpoint. * Addresses feedback from #2181.
33 lines
1.1 KiB
Text
33 lines
1.1 KiB
Text
- 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.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 'contact', contact: @instance_presenter
|
|
= render 'links'
|
|
= render 'version', version: @instance_presenter
|