Mercurial > agora-palash
changeset 65:98e91bb33000
Just trying to sort thing out
author | rettaw |
---|---|
date | Fri, 02 Mar 2012 00:39:22 +0100 |
parents | 29802e95fe96 |
children | 9074b0c48684 |
files | templates/bundle/bundle.djhtml |
diffstat | 1 files changed, 33 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/templates/bundle/bundle.djhtml Fri Mar 02 00:39:22 2012 +0100 @@ -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 %}