2015-08-06 13:05:14 +00:00
|
|
|
{% extends "layout/default.html" %}
|
|
|
|
{% block body %}
|
2015-09-02 12:48:22 +00:00
|
|
|
{% if show_filter %}
|
|
|
|
<h1>Filter by</h1>
|
2015-08-06 13:05:14 +00:00
|
|
|
<ul>
|
2015-09-02 12:48:22 +00:00
|
|
|
<li><a href="/appliances/category">Category</a></li>
|
|
|
|
<li><a href="/appliances/status">Status</a></li>
|
|
|
|
<li><a href="/appliances/vendor_name">Vendor</a></li>
|
|
|
|
</ul>
|
|
|
|
{% endif %}
|
|
|
|
<h1>{{title | capitalize | replace("_", " ")}} appliances</h1>
|
|
|
|
<ul>
|
|
|
|
{% for appliance in appliances|sort(attribute='name') %}
|
2015-08-06 13:05:14 +00:00
|
|
|
<li><a href="/appliances/{{appliance["id"]}}.html">{{appliance["name"]}}</a></li>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
{% endblock %}
|