view templates/bundle/index.djhtml @ 7:6c2d400091fd

Decouple bundle urlconfs; improve the skeleton layout to more than a few bones
author Jordi Gutiérrez Hermoso <jordigh@gmail.com>
date Sat, 26 Jun 2010 02:04:53 -0500
parents c83460992637
children cb9a7c6c3800
line wrap: on
line source

{% extends "base.djhtml" %}

{% block content %}
{% if bundle %}
<p>
  Sup, this is {{ bundle.uploader }}'s {{ bundle.name }} bundle.
</p>

{% if files %}
<ul>
  {% for f in files%}
  <li><a href="/{{f.bundle_file}}">{{f}}</a></li>
  {% endfor %}
</ul>

{% else %}
<p>
  No files in this bundle!
</p>
{% endif %}

{% else %}
Bundle not found!
{% endif %}
</p>
{% endblock %}