1
0
mirror of https://github.com/funamitech/mastodon synced 2024-12-05 10:18:45 +09:00
YuruToot/app/views/about/more.html.haml

52 lines
1.7 KiB
Plaintext
Raw Normal View History

2017-01-13 11:24:41 +09:00
- content_for :page_title do
#{Rails.configuration.x.local_domain}
2017-01-14 04:27:02 +09:00
.wrapper.thicc
.sidebar-layout
.main
.panel
%h2= Rails.configuration.x.local_domain
2017-01-13 11:24:41 +09:00
- unless @description.blank?
%p= @description.html_safe
.information-board
.section
%span= t 'about.user_count_before'
%strong= number_with_delimiter @user_count
%span= t 'about.user_count_after'
.section
%span= t 'about.status_count_before'
%strong= number_with_delimiter @status_count
%span= t 'about.status_count_after'
.section
%span= t 'about.domain_count_before'
%strong= number_with_delimiter @domain_count
%span= t 'about.domain_count_after'
- unless @extended_description.blank?
.panel= @extended_description.html_safe
.sidebar
.panel
.panel-header= t 'about.contact'
.panel-body
.owner
.avatar= image_tag @contact_account.avatar.url
.name
= link_to TagManager.instance.url_for(@contact_account) do
%span.display_name.emojify= display_name(@contact_account)
%span.username= "@#{@contact_account.acct}"
.contact-email
= t 'about.business_email'
%strong= @contact_email
.panel
.panel-header= t 'about.links'
.panel-list
%ul
%li= link_to t('about.get_started'), new_user_registration_path
%li= link_to t('auth.login'), new_user_session_path
%li= link_to t('about.terms'), terms_path
%li= link_to t('about.source_code'), 'https://github.com/tootsuite/mastodon'