<% content_for :page_title do %>Admin Reports<% end %>
<div class="application container">
  <div class="row padded-row">
    <div class="col-md-9">
      <h1>Admin Reports</h1>
    </div>
  </div>

  <div class="row">
    <ul>
      <li><%= link_to "AMR Report", reports_amr_data_index_path %></li>
      <li><%= link_to "Data Feeds summary", data_feeds_path %></li>
      <li><%= link_to "Weather Data Feed Report (calendar)", reports_data_feed_show_path(DataFeeds::WeatherUnderground.first, :temperature) %></li>
      <li><%= link_to "Solar Irradiation Data Feed Report (calendar)", reports_data_feed_show_path(DataFeeds::WeatherUnderground.first, :solar_irradiation) %></li>
      <li><%= link_to "Solar PV Data Feed Report (calendar)", reports_data_feed_show_path(DataFeeds::SolarPvTuos.first, :solar_pv) %></li>
    </ul>
  </div>
</div>
<% content_for :page_title do %>Admin Reports<% end %>
<div class="application container">
  <div class="row padded-row">
    <div class="col-md-9">
      <h1>Admin Reports</h1>
    </div>
  </div>

  <div class="row">
    <ul>
      <li><%= link_to "AMR Report", reports_amr_data_index_path %></li>
      <li><%= link_to "Data Feeds summary", data_feeds_path %></li>
      <% DataFeeds::WeatherUnderground.all.each do |data_feed| %>
        <li><%= link_to "#{data_feed.title} - temperature", reports_data_feed_show_path(data_feed, :temperature) %></li>
        <li><%= link_to "#{data_feed.title} - solar irradiation", reports_data_feed_show_path(data_feed, :solar_irradiation) %></li>
      <% end %>
      <% DataFeeds::SolarPvTuos.all.each do |data_feed| %>
        <li><%= link_to  data_feed.title, reports_data_feed_show_path(data_feed, :solar_pv) %></li>
      <% end %>
    </ul>
  </div>
</div>

Fix to allow these data feed reports to be easily accessed
Fix to allow these data feed reports to be easily accessed
