~doctormo/doctormo-random/art-management-packaging

« back to all changes in this revision

Viewing changes to website/templates/types/item.html

  • Committer: Martin Owens
  • Date: 2010-10-18 10:32:35 UTC
  • Revision ID: doctormo@gmail.com-20101018103235-r3f7eqgww05crqac
Images, javascripts and templates for website components.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
{% extends "base.html" %}
 
2
 
 
3
{% block title %} - Index{% endblock %}
 
4
 
 
5
{% block content %}
 
6
  <div class="icon" style="background-image: url({{ type.icon.url }})"></div>
 
7
 
 
8
  <h1>{{ type.name }}<em>{{ type.description }}</em></h1>
 
9
 
 
10
{% if recent_uploads %}
 
11
<table>
 
12
  {% for item in recent_uploads %}
 
13
    <a href="/type/item/{{ item.id }}/">{{ item.name }}</a>
 
14
  {% endfor %}
 
15
</table>
 
16
{% else %}
 
17
<h2>No Recent {{ type.name }} Uploads</h2>
 
18
{% endif %}
 
19
 
 
20
{% endblock %}
 
21