Retrospring/app/views/static/about.html.haml

61 lines
2.6 KiB
Plaintext
Raw Normal View History

- provide(:title, generate_title("About"))
.jumbotron.j2-jumbo.text-center.particle-jumbotron
#particles
.particle-content
%h1= APP_CONFIG['site_name']
%p= t 'views.about.subtitle'
.container
2015-05-19 08:48:02 -07:00
.panel.panel-default
.panel-body
.row
2018-05-15 08:37:13 -07:00
.col-md-4
%h3= t 'views.about.links.title'
%p= t('views.about.links.desc', app_title: APP_CONFIG['site_name'])
2018-05-15 08:37:13 -07:00
.col-md-4.col-sm-6
%a{href: "https://twitter.com/retrospring"}
2015-05-19 08:48:02 -07:00
.icon-showcase
%i.fa.fa-twitter
%h4.heading-about.text-center
Twitter
2018-05-15 08:37:13 -07:00
.col-md-4.col-sm-6
2015-05-19 08:48:02 -07:00
%a{href: help_faq_path}
.icon-showcase
%i.fa.fa-question
%h4.heading-about.text-center
FAQ
.panel.panel-default
.panel-body
.row
.col-md-4
%h3= t 'views.about.opensource.title'
%p= t('views.about.opensource.warning', app_title: APP_CONFIG['site_name'])
2020-04-26 14:12:29 -07:00
%p= raw t('views.about.opensource.desc', app_title: APP_CONFIG['site_name'], github: link_to(t('views.about.opensource.github'), "https://github.com/Retrospring/retrospring"), bugtracker: link_to(t('views.about.opensource.bugtracker'), "https://github.com/Retrospring/retrospring/issues"))
2015-05-19 08:48:02 -07:00
.col-md-4
%a{href: "https://github.com/Retrospring/retrospring"}
.icon-showcase
%i.fa.fa-github
%h4.heading-about.text-center= t 'views.about.repository.title'
2015-05-19 08:48:02 -07:00
%p.text-center
%em= t 'views.about.repository.desc'
2015-05-19 08:48:02 -07:00
.panel.panel-default
.panel-body
.row
.col-md-3.col-sm-12.col-xs-12
%h3= t 'views.about.statistics.title'
%p= t('views.about.statistics.desc', app_title: APP_CONFIG['site_name'])
2015-05-19 08:48:02 -07:00
.col-md-3.col-sm-6.col-xs-6.statistics
%h2.entry-text#asked-count= Question.count
2015-06-08 12:51:46 -07:00
%h4.entry-subtext= t('views.general.question').pluralize(Question.count)
2015-05-19 08:48:02 -07:00
%h2.entry-text#answered-count= Answer.count
2015-06-08 12:51:46 -07:00
%h4.entry-subtext= t('views.general.answer').pluralize(Answer.count)
2015-05-19 08:48:02 -07:00
.col-md-3.col-sm-6.col-xs-6.statistics
%h2.entry-text#comment-count= Comment.count
2015-06-08 12:51:46 -07:00
%h4.entry-subtext= t('views.general.comment').pluralize(Comment.count)
%h2.entry-text#smile-count= Smile.count + CommentSmile.count
2015-06-08 12:51:46 -07:00
%h4.entry-subtext= t('views.general.smile').pluralize(Smile.count)
2015-05-19 08:48:02 -07:00
.col-md-3.col-sm-12.col-xs-12.users
.entry-text#follower-count= User.count
2015-06-08 12:51:46 -07:00
%h6.entry-subtext= t('views.general.user').pluralize(User.count)
2014-11-24 09:11:44 -08:00
= render "shared/links"