Skip to content
This repository has been archived by the owner on Jul 25, 2019. It is now read-only.

Commit

Permalink
Remove network growth from home page
Browse files Browse the repository at this point in the history
  • Loading branch information
joelmahoney committed Jun 27, 2012
1 parent fe1beaa commit 4632eaa
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions app/views/home/index.html.haml
@@ -1,4 +1,5 @@
.row
= render partial: 'charts'
.span6
%div{:id=>"pie_div"}
-if ProjectMilestone.count > 0
Expand All @@ -15,12 +16,6 @@
=link_to "#{@fellows.size} Fellows", profiles_path
%li.arrows
=link_to "#{@projects.size} Projects", projects_path
%li.arrows
=link_to "#{@teams.size} Cities", teams_path
%li.arrows
=link_to "#{@network_size.inject(0) {|sum, x| sum + x[0]}} network size", teams_path
%li.arrows
=link_to "#{number_to_percentage(@network_size.inject(0) {|sum, x| sum + x[1]}/@network_size.size, :precision => 2)} network growth", teams_path
%li.arrows
=link_to "#{@events.size} events attended"
.span8.stats
Expand Down

0 comments on commit 4632eaa

Please sign in to comment.