Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
mentors.debian.net
debexpo
Commits
578a5f5e
Commit
578a5f5e
authored
Aug 18, 2012
by
Clément Schreiner
Browse files
Update controlfields' template.
parent
b3b84d63
Changes
1
Hide whitespace changes
Inline
Side-by-side
debexpo/templates/plugins/controlfields/html.mako
View file @
578a5f5e
<div class="qa-header">
${
str(o.outcome)
}
${
test_result
}
</div>
%if o.rich_data:
<div class="qa-content">
<dl>
%for
field, contents in sorted(o.rich_data.items()
):
<dt>${field}</dt>
<dd><a href="${cont
ents
}" rel="nofollow">${cont
ents
}</a></dd>
%for
control_field in sorted(results['control_field'], key=lambda x: x.field
):
<dt>${
control_field.
field}</dt>
<dd><a href="${cont
rol_field.data
}" rel="nofollow">${cont
rol_field.data
}</a></dd>
%endfor
</dl>
</div>
%endif
</div>
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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