Mercurial > hg > agora-dellsystem
diff templates/bundle/bundle.djhtml @ 65:98e91bb33000
Just trying to sort thing out
author | rettaw |
---|---|
date | Fri, 02 Mar 2012 00:39:22 +0100 |
parents | |
children | eb3371142f4f |
line wrap: on
line diff
new file mode 100644 --- /dev/null +++ b/templates/bundle/bundle.djhtml @@ -0,0 +1,33 @@ +{% extends "whitebox.djhtml" %} + +{% block content %} +<div class="info"> + <h3> + {{bundle.name}} by <a href="/{{bundle.uploader}}/">{{bundle.uploader}}</a> + </h3> + + {% if files %} + + <div class="whitebox"> + <p> + files: + </p> + <ul> + {% for f in files%} + <li><a href="/{{f.bundle_file}}">{{f}}</a></li> + {% endfor %} + </ul> + </div> + + {% else %} + + <div class="whitebox"> + <p> + No files in this bundle! + </p> + </div> + + {% endif %} + +</div> +{% endblock %}