2015-05-13 15:02:19 -07:00
|
|
|
- provide(:title, generate_title("About"))
|
2015-05-13 07:14:30 -07:00
|
|
|
.jumbotron.j2-jumbo.text-center.particle-jumbotron
|
|
|
|
#particles
|
|
|
|
.particle-content
|
|
|
|
%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
|
2015-05-19 08:48:02 -07:00
|
|
|
.panel.panel-default
|
|
|
|
.panel-body
|
|
|
|
.row
|
|
|
|
.col-md-3
|
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'])
|
2015-05-19 08:48:02 -07:00
|
|
|
.col-md-3.col-sm-4
|
|
|
|
%a{href: "https://twitter.com/retro_spring"}
|
|
|
|
.icon-showcase
|
|
|
|
%i.fa.fa-twitter
|
|
|
|
%h4.heading-about.text-center
|
|
|
|
Twitter
|
|
|
|
.col-md-3.col-sm-4
|
|
|
|
%a{href: "https://github.com/Retrospring/bugs"}
|
|
|
|
.icon-showcase
|
|
|
|
%i.fa.fa-bug
|
|
|
|
%h4.heading-about.text-center
|
|
|
|
Bug Tracker
|
|
|
|
.col-md-3.col-sm-4
|
|
|
|
%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
|
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'])
|
|
|
|
%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/bugs"))
|
2015-05-19 08:48:02 -07:00
|
|
|
.col-md-4
|
|
|
|
%a{href: "https://github.com/Retrospring/retrospring"}
|
|
|
|
.icon-showcase
|
|
|
|
%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'
|
2015-05-19 08:48:02 -07:00
|
|
|
.col-md-4
|
2015-05-26 12:15:18 -07:00
|
|
|
%h3= t 'views.about.contributors.title'
|
|
|
|
%p= t('views.about.contributors.desc', app_title: APP_CONFIG['site_name'])
|
|
|
|
%p= raw t('views.about.contributors.howto', fork: link_to(t('views.about.contributors.fork'), "https://github.com/retrospring/retrospring"))
|
2015-05-19 08:48:02 -07:00
|
|
|
%ul.about--moderator
|
|
|
|
- User.where(contributor: true).each do |sup|
|
|
|
|
%a{href: show_user_profile_path(sup.screen_name), title: sup.screen_name, data: { toggle: :tooltip, placement: :top }}
|
|
|
|
%img.img-rounded.answerbox--img-small{src: sup.profile_picture.url(:medium)}
|
|
|
|
.panel.panel-default
|
|
|
|
.panel-body
|
|
|
|
.row
|
|
|
|
.col-md-4
|
2015-05-26 12:15:18 -07:00
|
|
|
%h3= t 'views.about.team.title'
|
|
|
|
= t('views.about.team.desc', app_title: APP_CONFIG['site_name'])
|
2014-11-24 09:11:44 -08:00
|
|
|
%br/
|
2015-04-01 16:28:42 -07:00
|
|
|
- APP_CONFIG['admins'].each do |adm|
|
|
|
|
.media
|
|
|
|
.pull-left
|
|
|
|
%a{href: show_user_profile_path(adm['screen_name'])}
|
|
|
|
%img.img-rounded.answerbox--img{src: User.find_by_screen_name(adm['screen_name']).profile_picture.url(:medium)}
|
|
|
|
.media-body
|
|
|
|
%h4.entry-text.entry-about= adm['about_text']
|
|
|
|
%h6.entry-subtext= adm['subtext']
|
2015-05-19 08:48:02 -07:00
|
|
|
.col-md-4
|
2015-05-26 12:15:18 -07:00
|
|
|
%h3= t 'views.about.moderators.title'
|
|
|
|
%p= t('views.about.moderators.desc', app_title: APP_CONFIG['site_name'])
|
2015-01-01 10:10:31 -08:00
|
|
|
%ul.about--moderator
|
|
|
|
- User.where(moderator: true).each do |mod|
|
2015-02-12 06:57:05 -08:00
|
|
|
%a{href: show_user_profile_path(mod.screen_name), title: mod.screen_name, data: { toggle: :tooltip, placement: :top }}
|
2015-05-19 08:48:02 -07:00
|
|
|
%img.img-rounded.answerbox--img{src: mod.profile_picture.url(:medium)}
|
|
|
|
.col-md-4
|
2015-05-26 12:15:18 -07:00
|
|
|
%h3= t 'views.about.funding.title'
|
|
|
|
%p= t('views.about.funding.desc', app_title: APP_CONFIG['site_name'])
|
2015-01-04 15:32:58 -08:00
|
|
|
%ul.about--moderator
|
|
|
|
- User.where(supporter: true).each do |sup|
|
2015-01-08 13:53:29 -08:00
|
|
|
%a{href: show_user_profile_path(sup.screen_name), title: sup.screen_name, data: { toggle: :tooltip, placement: :top }}
|
2015-05-19 08:48:02 -07:00
|
|
|
%img.img-rounded.answerbox--img{src: sup.profile_picture.url(:medium)}
|
|
|
|
.panel.panel-default
|
|
|
|
.panel-body
|
|
|
|
.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'])
|
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#asked-count= Comment.count
|
2015-06-08 12:51:46 -07:00
|
|
|
%h4.entry-subtext= t('views.general.comment').pluralize(Comment.count)
|
2015-05-19 08:48:02 -07:00
|
|
|
%h2.entry-text#answered-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-17 04:19:59 -08:00
|
|
|
|
2014-11-24 09:11:44 -08:00
|
|
|
= render "shared/links"
|