Sha256: 0840440cc78d691d63c83da03dda7de66899f27aa24a581bea83cbe1940b744b

Contents?: true

Size: 823 Bytes

Versions: 3

Compression:

Stored size: 823 Bytes

Contents

<% content_for :head do %>
  <%= calendar_date_select_includes %>
<% end %>
<h1><%= t("listing_reports") %></h1>
<table>
  <tr>
    <td valign="top">
      <div id="order-summary">
        <table class="admin-report" width="515">
          <thead>
            <tr>
              <th><%= t("name") %></th>
              <th><%= t("description") %></th>
            </tr>
          </thead>
          <tbody>     
            <% @reports.each do |key, value| %>
            <tr class="<%= cycle('even', 'odd') %>">
              <td><%= link_to t(value[:name].downcase.gsub(" ","_")), send("#{key}_admin_reports_url".to_sym) %></td>
              <td><%= t(value[:description].downcase.gsub(" ","_")) %></td>
            </tr>
            <% end %>
          </tbody>
        </table>
      </div>
    </td>
  </tr>
</table>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
spree-0.6.0 app/views/admin/reports/index.html.erb
spree-0.7.1 app/views/admin/reports/index.html.erb
spree-0.7.0 app/views/admin/reports/index.html.erb