Mercurial > agora-palash
view templates/licenses/license.djhtml @ 37:ba2dad0d7f2a
Do license framework (need to create an SQL fixture for them)
author | Jordi Gutiérrez Hermoso <jordigh@gmail.com> |
---|---|
date | Wed, 07 Jul 2010 15:35:56 -0500 |
parents | |
children | eb3371142f4f |
line wrap: on
line source
{% extends "whitebox.djhtml" %} {% block boxtitle %} {{license.name}} {% endblock boxtitle %} {% block boxcontents %} {{license.text|safe}} {% endblock %} {% block content-related %} <div class="info"> <h3> Description </h3> <div class="whitebox"> <p align="justify"> <small>{{license.description|safe|linebreaks}}</small> </p> </div> </div> <div class="info"> <h3> <a href="{% url agora.apps.free_license.views.index %}">Other Licenses</a> </h3> <div class="whitebox"> <ul> {% for license in licenses %} <li> <a href="{% url agora.apps.free_license.views.show_license license %}"> {{license.name}} </a> </li> {% endfor %} </ul> </div> </div> {% endblock %}