tracks/app/views/stats/index.html.erb
Marcus Ilgner fd3f69d927 Changed code to support basic i18n.
Added RubyMine configuration and rvm setup to .gitignore.
2010-11-09 16:31:26 +08:00

30 lines
No EOL
579 B
Text
Executable file

<div class="stats_content">
<h2><%= t('stats.totals') %></h2>
<%= render :partial => 'totals' -%>
<% unless @actions.empty? -%>
<h2><%= t('stats.actions') %></h2>
<%= render :partial => 'actions' -%>
<h2><%= t('stats.contexts') %></h2>
<%= render :partial => 'contexts' -%>
<h2><%= t('stats.projects') %></h2>
<%= render :partial => 'projects' -%>
<h2><%= t('stats.tags') %></h2>
<%= render :partial => 'tags' -%>
<% else -%>
<p><%= t('stats.more_stats_will_appear') %></p>
<% end -%>
</div>