summaryrefslogtreecommitdiff
path: root/web/views/index.erb
diff options
context:
space:
mode:
authorJochen Topf <jochen@topf.org>2013-01-31 20:35:18 +0100
committerJochen Topf <jochen@topf.org>2013-01-31 20:35:18 +0100
commitb940c8b01a379519dcfc2ac88c7beca86aa79854 (patch)
treeb40eff44ab39a316c1b70862d4ec2317df30a1ed /web/views/index.erb
parent59ca7dcc45cae63309795d3b30822fa06d4b7cb1 (diff)
downloadtaginfo-b940c8b01a379519dcfc2ac88c7beca86aa79854.tar
taginfo-b940c8b01a379519dcfc2ac88c7beca86aa79854.tar.gz
Hide unfinished reports.
Reports without sources are now "hidden", ie. they are not visible in the list of reports. But if you know the URL you can access them. This allows them to be tested before they are publicly released. Similarly APIs being tested can now use the API version 0, which will make them invisible in the API documentation.
Diffstat (limited to 'web/views/index.erb')
-rw-r--r--web/views/index.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/views/index.erb b/web/views/index.erb
index 381fa94..80a872e 100644
--- a/web/views/index.erb
+++ b/web/views/index.erb
@@ -19,7 +19,7 @@
<td rowspan="5" class="box">
<p><%= t.pages.reports.intro %></p>
<ul style="margin: 0 0 0 18px; padding: 0;">
-<% Report.each do |report| %>
+<% Report.each_visible do |report| %>
<li><a href="<%= report.url %>"><%= t.reports[report.name].name %></a></li>
<% end %>
</ul>