summaryrefslogtreecommitdiff
path: root/web/views
diff options
context:
space:
mode:
authorJochen Topf <jochen@topf.org>2014-09-18 14:06:29 +0200
committerJochen Topf <jochen@topf.org>2014-09-18 14:06:29 +0200
commit065e68c90ed804a24c29a5dd51fc534a60cfab55 (patch)
tree79cf66835f8f6d0cd0b1416bd38a49ce6cd7eada /web/views
parentcf8b1f0e8b31281f957014fe6767bda4f2822147 (diff)
downloadtaginfo-065e68c90ed804a24c29a5dd51fc534a60cfab55.tar
taginfo-065e68c90ed804a24c29a5dd51fc534a60cfab55.tar.gz
Simplified reports list: Do not show data sources used.
Diffstat (limited to 'web/views')
-rw-r--r--web/views/reports/index.erb16
1 files changed, 5 insertions, 11 deletions
diff --git a/web/views/reports/index.erb b/web/views/reports/index.erb
index 1acd99e..d37f8ae 100644
--- a/web/views/reports/index.erb
+++ b/web/views/reports/index.erb
@@ -4,15 +4,9 @@
</div>
<div class="box resize">
<h2><%= h(t.pages.reports.list) %></h2>
- <table class="list">
- <tr><th class="tc" colspan="<%= Source.visible.size %>"/><%= t.pages.reports.data_sources %></th><th class="tl"><%= t.taginfo.report %></th></tr>
- <% Report.each_visible_with_index do |report, n| c = (n%2!=0) ? ' even' : '' %>
- <tr>
- <% Source.visible.each do |source| %>
- <td class="tc<%= c %>" width="40"><%= source.img(16, t.taginfo.uses_data_from) if report.uses_source?(source.id) %></td>
- <% end %>
- <td class="tl<%= c %>"><a href="<%= report.url %>"><%= t.reports[report.name].name %></a></td>
- </tr>
- <% end %>
- </table>
+ <ul>
+<% Report.each_visible_with_index do |report, n| c = (n%2!=0) ? ' even' : '' %>
+ <li><a href="<%= report.url %>"><%= t.reports[report.name].name %></a></li>
+<% end %>
+ </ul>
</div>