Sha256: 5dbb4fd3a7cb85716b8ef360fec636fb30314a32c76cd2e9f2b78ad96dee928a
Contents?: true
Size: 934 Bytes
Versions: 3
Compression:
Stored size: 934 Bytes
Contents
<% report = @report if defined?(report).nil? %> <%= content_tag(:div, :id => report[:id]) do %> <% title = report[:title] title += '<br>'+content_tag(:span, report[:subtitle], :class => 'small') if report[:subtitle] %> <%= content_tag(:h3, title.html_safe) if title %> <div> <%= meta_report_alt_links(report[:report], params) %> <% if report[:description] %><br><p class='description'><%= report[:description] %></p><% end %> </div> <%= content_tag(:div, "No data found", :class => 'textcenter') if report[:tables].blank? %> <% table_names = report[:table_order] || report[:tables].keys.sort_by {|k| k.to_s} table_names.each do |table_name| %> <%= render partial: 'meta_reports/reports/templates/default_table', locals: {table_name: table_name, table: report[:tables][table_name]} %> <% end %> <% end %> <% unless request.xhr? || report[:report].nil? %> <%= link_to 'Reports', '/meta_reports' %> <% end -%>
Version data entries
3 entries across 3 versions & 1 rubygems