spelling
[opensuse:software-o-o.git] / app / views / statistic / index.html.erb
1 <% @page_title = _("Statistics") -%>
2
3 <h2><%= _("Search Statistics:") %></h2>
4
5 <h3><%= _("Top searches:") %></h3>
6
7 <ol>
8 <% top = @top_searches -%>
9 <% top.each do |item| -%>
10   <li><%= h item[:query] %> (<%= h item[:count] %>)</li>
11 <% end -%>
12 </ol>
13
14 <h3><%= _("Top searches without hits:") %></h3>
15
16 <ol>
17 <% top = @failed_searches -%>
18 <% top.each do |item| -%>
19   <li><%= h item[:query] %> (<%= h item[:count] %>)</li>
20 <% end -%>
21 </ol>
22
23
24 <h2><%= _("Download Statistics:") %></h2>
25
26 <h3><%= _("Top downloads:") %></h3>
27
28 <ol>
29 <% top = top_downloads -%>
30 <% top.each do |item| -%>
31   <li><%= h item[:query] %> (<%= h item[:count] %>)</li>
32 <% end -%>
33 </ol>