Unverified Commit 466c8ea3 authored by boklm's avatar boklm
Browse files

reports_index.html: list tags for each type

parent 587eaa95
......@@ -128,6 +128,7 @@ sub make_reports_index {
reports => \%reports,
reports_list => \@reports_by_time,
reports_by_type => \%reports_by_type,
reports_by_tag => \%reports_by_tag,
};
$template->process('reports_index.html', $vars, 'index.html')
|| exit_error "Template Error:\n" . $template->error;
......
......@@ -27,7 +27,15 @@
<h1>Tests Reports</h1>
<ul>
[% FOREACH type IN reports_by_type.keys.sort %]
<li><a href="index-[% type %].html">[% type %] reports</a></li>
<li><a href="index-[% type %].html">[% type %] reports</a>
[% IF reports_by_tag.$type %]
<ul>
[% FOREACH tag IN reports_by_tag.$type.keys %]
<li><a href="index-[% type %]-[% tag %].html">[% tag %]</a></li>
[% END %]
</ul>
[% END %]
</li>
[% END %]
</ul>
</body>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment