emissions.html 611 Bytes
Newer Older
Simon Daron's avatar
Simon Daron committed
1
{% extends "base.html" %}
Simon Daron's avatar
Simon Daron committed
2
{% load paniktags %}
Simon Daron's avatar
Simon Daron committed
3
4
{% block bodyID %}Emissions{% endblock %}
{% block title %}Emissions{% endblock %}
Simon Daron's avatar
Simon Daron committed
5
6
7
{% block nav %}
	{% emission_nav with klass="emissions" %}
{% endblock %}
Simon Daron's avatar
Simon Daron committed
8
{% block main %}
Simon Daron's avatar
Simon Daron committed
9
<div class="emissions padded">
Simon Daron's avatar
Simon Daron committed
10
11
		<ul class="custom list columns padded">
		{% for emission in emissions %}
Simon Daron's avatar
Simon Daron committed
12
13
			<li class="item  {% if emission.categories.all.count = 0 %}nocat{% endif %} {% for category in emission.categories.all %} {{ category|slugify }}{% endfor %}{% if emission.archived %} archived{% endif %}"
			>{% emission_inline %}</li>
Simon Daron's avatar
Simon Daron committed
14
15
16
17
		{% endfor %}
		</ul>
</div>
{% endblock %}