Back

Template Source: awards/commended_projects.html

{% extends 'base.html' %} {% block title %}Commended Projects {{ year }}{% endblock %} {% block header %} {% include 'includes/top_nav.html' with on="awards" %} {% endblock %} {% block content %} <div class="content"> <div class="page"> {% include 'awards/includes/menu.html' with on='commended_projects' %} <div class="blocks"> {% for object in object_list %} <div class="block"> <div class="image"> <a href="{% url 'commended_detail' object.year|date:"Y" object.slug %}"><img src="{{ object.get_460x420_url }}" /></a> <span class="arrow"></span> </div> <div class="text"> <div class="inner"> {% comment %}<p class="count">{{ object.order }}</p>{% endcomment %} <h2>{{ object.architect }}</h2> <h3><a href="{% url 'commended_detail' object.year|date:"Y" object.slug %}">{{ object.project_name }}</a></h3> <p class="location">{{ object.location }}</p> {% if object.winner %}<span class="winner"></span>{% endif %} </div> </div> </div><!--/block--> {% empty %} <p class="empty">There are currently no commended projects.</p> {% endfor %} </div><!--/blocks--> </div><!--/page--> </div><!--/content--> {% endblock %}