diff options
author | Stanislav Ochotnicky <sochotnicky@gmail.com> | 2009-08-10 20:57:01 +0200 |
---|---|---|
committer | Stanislav Ochotnicky <sochotnicky@gmail.com> | 2009-08-10 20:57:01 +0200 |
commit | cf75a67914798739e22e90ec134bd7a6b822b8b7 (patch) | |
tree | c95c20667caf32a4bc1d202b429cabbd290923a3 /web/templates/view-package-props.html | |
parent | Prepared urls and settings for templates (diff) | |
download | collagen-cf75a67914798739e22e90ec134bd7a6b822b8b7.tar.gz collagen-cf75a67914798739e22e90ec134bd7a6b822b8b7.tar.bz2 collagen-cf75a67914798739e22e90ec134bd7a6b822b8b7.zip |
Basic functions of web working
This is really big commit, since there was no use putting in absolutely
non functional code until now.
Some templates might be simplified later on...
Diffstat (limited to 'web/templates/view-package-props.html')
-rw-r--r-- | web/templates/view-package-props.html | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/web/templates/view-package-props.html b/web/templates/view-package-props.html new file mode 100644 index 0000000..16e27ea --- /dev/null +++ b/web/templates/view-package-props.html @@ -0,0 +1,33 @@ +{% extends "base.html" %} + +{% block intro %} +Compile information for: {{cpv}} +{% endblock %} + +{% block main %} +{% if pprops %} + + + {% for prop in pprops %} + <div class="compileinfo-{% cycle odd,even %}"> + Portage profile: {{prop.profile.name}}<br /> + Error code: {{prop.error_code}} <br /> + Tinderbox IP: {{prop.tinderbox.ip}} <br /> + Useflags: {% for uf in prop.useflags.all %} + {{uf.name}} + {% endfor %} <br /> + Attachments: + {% for attachment in prop.attachment_set.all %} + <a href="/collagen/view/attachment/{{attachment.id}}">{{attachment.name}}</a> + {% endfor %}<br /> + Content: <a href="/collagen/view/content/{{prop.id}}">list</a> + </div> + <br /> + {% endfor %} + + +{% else %} + No information available +{% endif %} + +{% endblock %} |