Permalink
Browse files

comment out petition extremes temporarily in an attempt to restore da…

…shboard functionality.
  • Loading branch information...
1 parent 7ffb6bc commit 37b67df02fe703e1aabae99a18d91b596a9ef77d @woodhull woodhull committed Aug 18, 2013
Showing with 49 additions and 49 deletions.
  1. +49 −49 app/views/admin/dashboard/index.html.haml
@@ -122,55 +122,55 @@
%td
= "$#{average_donations_per_day.round}"
- #extremes
- %table.table.table-condensed.bordered-table.table-striped
- %tr
- %th
- Petitions (Best/Worst NPS)
- %th.numeric
- Sent
- %th.numeric
- Sub
- %th.numeric
- Unsub
- %th.numeric
- NPS
- %tr
- %td
- Show
- = link_to_self_with_param :x, Statistics::EXTREMES_COUNTS, " | "
- %td{style: "white-space:nowrap"}
- Min
- = link_to_self_with_param :th, Statistics::EXTREMES_THRESHOLDS, " | "
- %td
- %td
- %td
-
- - petition_extremes[:best].each do |p|
- %tr
- %td
- = link_to p[0].title, p[0]
- %td.numeric
- = p[1][:sent]
- %td.numeric
- = p[1][:subscribes]
- %td.numeric
- = p[1][:unsubscribes]
- %td.numeric
- = float_to_percentage p[1][:nps]
-
- - petition_extremes[:worst].each do |p|
- %tr
- %td
- = link_to truncate(p[0].title, :length => 75), p[0]
- %td.numeric
- = p[1][:sent]
- %td.numeric
- = p[1][:subscribes]
- %td.numeric
- = p[1][:unsubscribes]
- %td.numeric
- = float_to_percentage p[1][:nps]
+ -##extremes
+ -# %table.table.table-condensed.bordered-table.table-striped
+ -# %tr
+ -# %th
+ -# Petitions (Best/Worst NPS)
+ -# %th.numeric
+ -# Sent
+ -# %th.numeric
+ -# Sub
+ -# %th.numeric
+ -# Unsub
+ -# %th.numeric
+ -# NPS
+ -# %tr
+ -# %td
+ -# Show
+ -# = link_to_self_with_param :x, Statistics::EXTREMES_COUNTS, " | "
+ -# %td{style: "white-space:nowrap"}
+ -# Min
+ -# = link_to_self_with_param :th, Statistics::EXTREMES_THRESHOLDS, " | "
+ -# %td
+ -# %td
+ -# %td
+ -#
+ -# - petition_extremes[:best].each do |p|
+ -# %tr
+ -# %td
+ -# = link_to p[0].title, p[0]
+ -# %td.numeric
+ -# = p[1][:sent]
+ -# %td.numeric
+ -# = p[1][:subscribes]
+ -# %td.numeric
+ -# = p[1][:unsubscribes]
+ -# %td.numeric
+ -# = float_to_percentage p[1][:nps]
+ -#
+ -# - petition_extremes[:worst].each do |p|
+ -# %tr
+ -# %td
+ -# = link_to truncate(p[0].title, :length => 75), p[0]
+ -# %td.numeric
+ -# = p[1][:sent]
+ -# %td.numeric
+ -# = p[1][:subscribes]
+ -# %td.numeric
+ -# = p[1][:unsubscribes]
+ -# %td.numeric
+ -# = float_to_percentage p[1][:nps]
%div#charts.row

0 comments on commit 37b67df

Please sign in to comment.