Sha256: b6c3fdc62da8daaebf79c71ef68d518160c7f4a722557d98a75da8454ae9d760
Contents?: true
Size: 778 Bytes
Versions: 5
Compression:
Stored size: 778 Bytes
Contents
<% if analytic_table[:data].count > 0 %> <table> <tr> <% analytic_table[:headers][:key].each do |header| %> <th><%=h header%></th> <% end %> <% analytic_table[:headers][:value].each do |header| %> <th><%=h header%></th> <% end %> </tr> <% analytic_table[:data].each do |analytic_data| %> <tr> <% analytic_table[:headers][:key].each do |header| %> <td><%=h analytic_data['_id'][header].try(:to_i) %></td> <% end %> <% analytic_table[:headers][:value].each do |header| %> <td><%=h analytic_data['value'][header].try(:to_i) %></td> <% end %> </tr> <% end %> </table> <% else %> <div class="pale pal txtC">No data found, try another filter</div> <% end %>
Version data entries
5 entries across 5 versions & 1 rubygems