view templates/bundle/index.djhtml @ 17:cb9a7c6c3800

Implement rounded boxes and titles for holding content
author Jordi Gutiérrez Hermoso <jordigh@gmail.com>
date Sat, 26 Jun 2010 18:57:46 -0500
parents 6c2d400091fd
children d9658d30b814
line wrap: on
line source

{% extends "controls.djhtml" %}

{% block content %}
<div class="info">
  {% if bundle %}
  <h3>
    {{bundle.name}} by <a href="/{{bundle.uploader}}/">{{bundle.uploader}}</a>
  </h3>

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

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


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