2020-05-09 23:40:32 -07:00
|
|
|
- provide(:title, generate_title('About'))
|
2020-04-26 15:59:53 -07:00
|
|
|
.jumbotron.jumbotron--particles
|
2020-05-09 23:40:32 -07:00
|
|
|
.jumbotron__particles#particles
|
2020-04-26 15:59:53 -07:00
|
|
|
.jumbotron__content
|
2015-05-13 07:14:30 -07:00
|
|
|
%h1= APP_CONFIG['site_name']
|
2015-05-26 12:15:18 -07:00
|
|
|
%p= t 'views.about.subtitle'
|
2014-08-01 02:55:50 -07:00
|
|
|
.container
|
2020-04-19 14:31:24 -07:00
|
|
|
.card
|
2020-04-19 14:09:41 -07:00
|
|
|
.card-body
|
2015-05-19 08:48:02 -07:00
|
|
|
.row
|
2018-05-15 08:37:13 -07:00
|
|
|
.col-md-4
|
2015-05-26 12:15:18 -07:00
|
|
|
%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
|
2020-05-09 23:40:32 -07:00
|
|
|
%a{ href: 'https://twitter.com/retrospring' }
|
2020-05-07 06:09:55 -07:00
|
|
|
.icon--showcase
|
2015-05-19 08:48:02 -07:00
|
|
|
%i.fa.fa-twitter
|
|
|
|
%h4.heading-about.text-center
|
|
|
|
Twitter
|
2018-05-15 08:37:13 -07:00
|
|
|
.col-md-4.col-sm-6
|
2020-05-09 23:40:32 -07:00
|
|
|
%a{ href: help_faq_path }
|
2020-05-07 06:09:55 -07:00
|
|
|
.icon--showcase
|
2015-05-19 08:48:02 -07:00
|
|
|
%i.fa.fa-question
|
|
|
|
%h4.heading-about.text-center
|
|
|
|
FAQ
|
2020-04-19 14:31:24 -07:00
|
|
|
.card
|
2020-04-19 14:09:41 -07:00
|
|
|
.card-body
|
2015-05-19 08:48:02 -07:00
|
|
|
.row
|
|
|
|
.col-md-4
|
2015-05-26 12:15:18 -07:00
|
|
|
%h3= t 'views.about.opensource.title'
|
|
|
|
%p= t('views.about.opensource.warning', app_title: APP_CONFIG['site_name'])
|
2020-05-09 23:40:32 -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
|
2020-05-09 23:40:32 -07:00
|
|
|
%a{ href: 'https://github.com/Retrospring/retrospring' }
|
2020-05-07 06:09:55 -07:00
|
|
|
.icon--showcase
|
2015-05-19 08:48:02 -07:00
|
|
|
%i.fa.fa-github
|
2015-05-26 12:15:18 -07:00
|
|
|
%h4.heading-about.text-center= t 'views.about.repository.title'
|
2015-05-19 08:48:02 -07:00
|
|
|
%p.text-center
|
2015-05-26 12:15:18 -07:00
|
|
|
%em= t 'views.about.repository.desc'
|
2020-04-19 14:31:24 -07:00
|
|
|
.card
|
2020-04-19 14:09:41 -07:00
|
|
|
.card-body
|
2015-05-19 08:48:02 -07:00
|
|
|
.row
|
|
|
|
.col-md-3.col-sm-12.col-xs-12
|
2015-05-26 12:15:18 -07:00
|
|
|
%h3= t 'views.about.statistics.title'
|
|
|
|
%p= t('views.about.statistics.desc', app_title: APP_CONFIG['site_name'])
|
2020-05-01 10:29:05 -07:00
|
|
|
.col-md-3.col-sm-6.col-xs-6
|
|
|
|
.entry.entry--statistics
|
|
|
|
%h2.entry__value#asked-count= Question.count
|
|
|
|
%h4.entry__description= t('views.general.question').pluralize(Question.count)
|
|
|
|
.entry.entry--statistics
|
|
|
|
%h2.entry__value#answered-count= Answer.count
|
|
|
|
%h4.entry__description= t('views.general.answer').pluralize(Answer.count)
|
|
|
|
.col-md-3.col-sm-6.col-xs-6
|
|
|
|
.entry.entry--statistics
|
|
|
|
%h2.entry__value#comment-count= Comment.count
|
|
|
|
%h4.entry__description= t('views.general.comment').pluralize(Comment.count)
|
|
|
|
.entry.entry--statistics
|
|
|
|
%h2.entry__value#smile-count= Smile.count + CommentSmile.count
|
|
|
|
%h4.entry__description= t('views.general.smile').pluralize(Smile.count)
|
|
|
|
.col-md-3.col-sm-12.col-xs-12
|
|
|
|
.entry.entry--users
|
|
|
|
.entry__value#follower-count= User.count
|
|
|
|
%h4.entry__description= t('views.general.user').pluralize(User.count)
|
2014-11-17 04:19:59 -08:00
|
|
|
|
2020-05-09 23:40:32 -07:00
|
|
|
= render 'shared/links'
|