Skip to content

Commit

Permalink
Add more actions button for the rest of the stats
Browse files Browse the repository at this point in the history
  • Loading branch information
Doug Youch committed Nov 9, 2010
1 parent 8e6934f commit e9eb18b
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions app/views/emarketing/index.rhtml
Expand Up @@ -18,20 +18,26 @@ SourcesCharts = {
for(var i=0; i<data.total_values.length; i++) {
$j('#chart_day' + (i+1)).text(data.days[i]);
$j('#chart_date' + (i+1)).text(data.dates[i]);
$j('#chart_value' + (i+1)).text(data.total_values[i] == '' ? '' : data.total_values[i]);
$j('#chart_value' + (i+1)).html(data.total_values[i] == '' ? '&nbsp;' : data.total_values[i]);
}

SourcesCharts.chart.draw();
}
}
</script>

<div class='admin_content'>
<% action_panel :more => true do |p| -%>
<% end -%>
<% more_action_panel do |p| -%>
<% @subpages.each do |page| -%>
<%= p.link page[0], page[3] %>
<% end -%>
<% end -%>

<%= subpage_display :emarketing, @subpages %>
<hr/>

<br/>
<br/>
<div class='admin_content'>

<div align="center">
<%= render :partial => 'referrer_sources' %>
Expand Down

0 comments on commit e9eb18b

Please sign in to comment.