Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
The Tor Project
Applications
tor-browser-bundle-testsuite
Commits
466c8ea3
Unverified
Commit
466c8ea3
authored
Aug 27, 2014
by
boklm
Browse files
reports_index.html: list tags for each type
parent
587eaa95
Changes
2
Hide whitespace changes
Inline
Side-by-side
TBBTestSuite/Reports.pm
View file @
466c8ea3
...
...
@@ -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
;
...
...
tmpl/reports_index.html
View file @
466c8ea3
...
...
@@ -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>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment