Sha256: f0b7dbe0da600eaf5acd5c6628a52f28dac8cc54649b998ec649613b07266f17

Contents?: true

Size: 746 Bytes

Versions: 4

Compression:

Stored size: 746 Bytes

Contents

<table class="datatable">
    <thead>    
        <tr>
            <th>Rank</th>
            <th>Category</th>
            <th>Count</th>
            <th>Percent</th>
        </tr>
    </thead>
    <tbody>
        <% iterations = 0 %>
        <% clicks.each do |item, count| %>
            <% iterations += 1 %>
            <tr>
                <td><%= iterations %></td>
                <!-- <td><%# item %></td> -->
                <td><%= link_to item, controller: "appstats", action: "detail", ga_scope: "category", ga_category: "#{item}" %></td>
                <td><%= count %></td>
                <td><%= number_to_percentage((count / total_clicks.to_f)*100, precision: 2) %></td>
            </tr>
        <% end %>
    </tbody>
</table>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
quick_search-core-0.1.1 app/views/quick_search/appstats/_click_count_table.html.erb
quick_search-core-0.1.0 app/views/quick_search/appstats/_click_count_table.html.erb
quick_search-core-0.0.1 app/views/quick_search/appstats/_click_count_table.html.erb
quick_search-core-0.0.1.test app/views/quick_search/appstats/_click_count_table.html.erb