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

109 lines
4.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 About our service, features and other information
.container
2014-08-01 06:27:08 -07:00
= render 'layouts/messages'
2015-01-15 07:18:35 -08:00
2014-11-17 04:02:11 -08:00
.row
.col-sm-4
2014-11-24 09:11:44 -08:00
.panel.panel-default
.panel-heading
%h3.panel-title The Team
2014-11-24 09:11:44 -08:00
.panel-body
The people behind
= succeed '!' do
= APP_CONFIG['site_name']
2014-11-24 09:11:44 -08:00
%br/
- 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-01-04 15:10:35 -08:00
.panel.panel-default
.panel-heading
%h3.panel-title Moderators
2015-01-04 15:10:35 -08:00
.panel-body
2015-04-19 13:36:50 -07:00
%p
The people on
= APP_CONFIG['site_name']
that look after you!
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 }}
%img.img-rounded.answerbox--img-small{src: mod.profile_picture.url(:small)}
2015-01-04 15:10:35 -08:00
.col-sm-4
.panel.panel-default
.panel-heading
%h3.panel-title Unfinished Project
2015-01-04 15:10:35 -08:00
.panel-body
2015-04-18 13:06:36 -07:00
%p
= APP_CONFIG['site_name']
is running on unfinished code, full of bugs. Caveat emptor.
2015-01-04 15:10:35 -08:00
%p
2015-04-18 12:11:18 -07:00
Want to contribute? If you are a Ruby developer, CoffeeScript coder or frontend designer, you can now help
= APP_CONFIG['site_name']
2015-04-20 12:14:05 -07:00
to get the features everyone wanted by forking our
2015-04-19 13:36:50 -07:00
= succeed '.' do
2015-04-20 12:14:05 -07:00
= link_to "GitHub repository", 'https://github.com/retrospring/retrospring'
2015-04-20 12:14:59 -07:00
If that's not the case, you can still report bugs and request features at our
2015-04-20 12:14:05 -07:00
= succeed '.' do
= link_to "bug tracker", 'https://github.com/retrospring/bugs'
2015-01-07 13:06:21 -08:00
%p
Still have some questions? Check our
= link_to "FAQ!", help_faq_path
2014-11-30 07:53:04 -08:00
.panel.panel-default
.panel-heading
%h3.panel-title Statistics
2014-11-30 07:53:04 -08:00
.panel-body
%p All-time statistics for #{APP_CONFIG['site_name']}
2014-11-30 07:53:04 -08:00
.row
.col-xs-6
%h4.entry-text#asked-count= Question.count
%h6.entry-subtext Questions
.col-md-6.col-sm-6.col-xs-6
%h4.entry-text#answered-count= Answer.count
%h6.entry-subtext Answers
2014-12-07 06:10:05 -08:00
.row
.col-xs-6
%h4.entry-text#asked-count= Comment.count
%h6.entry-subtext Comments
.col-md-6.col-sm-6.col-xs-6
%h4.entry-text#answered-count= Smile.count + CommentSmile.count
2014-12-07 06:10:05 -08:00
%h6.entry-subtext Smiles
2014-11-30 07:53:04 -08:00
.row
.col-xs-6
%h4.entry-text#follower-count= User.count
%h6.entry-subtext Users
2014-11-17 04:02:11 -08:00
.col-sm-4
2014-11-24 09:11:44 -08:00
.panel.panel-default
.panel-heading
%h3.panel-title Funding
2014-11-24 09:11:44 -08:00
.panel-body
2015-04-19 13:36:50 -07:00
%p Currently Retrospring is running of the developers funds and will be able to sustain at the current needs of servers. Hereby we want to thank the people who previously donated to our project and helped it grow. Everyone shown at the bottom of this panel has contributed to the project with donations or great input.
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-01-08 13:54:10 -08:00
%img.img-rounded.answerbox--img-small{src: sup.profile_picture.url(:medium)}
2015-04-19 13:31:14 -07:00
.panel.panel-default
.panel-heading
%h3.panel-title Contributors
.panel-body
%p These people have contributed to #{APP_CONFIG['site_name']}'s source code.
%p
Want to get listed here?
= link_to "Fork this repo", 'https://github.com/retrospring/retrospring'
and create a new pull request with your changes.
%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)}
2014-11-24 09:11:44 -08:00
= render "shared/links"