This repository has been archived on 2024-07-04. You can view files and clone it, but cannot push or open issues or pull requests.
2011-03-06 19:01:15 +01:00
|
|
|
{% extends "base/main.html" %}
|
|
|
|
|
|
|
|
{%block title%}
|
2011-03-06 20:42:07 +01:00
|
|
|
{{ category }}
|
2011-03-06 19:01:15 +01:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
|
2011-03-06 20:42:07 +01:00
|
|
|
<h2>{{ category }}</h2>
|
2011-03-06 19:01:15 +01:00
|
|
|
|
|
|
|
{% if not book_list %}
|
|
|
|
Det finnes ingen bøker i denne kategorien.
|
|
|
|
{% else %}
|
2011-03-06 20:42:07 +01:00
|
|
|
<!---Følgende bøker finnes i denne kategorien:---!>
|
|
|
|
<div class="key">Bøker:</div>
|
2011-03-06 19:01:15 +01:00
|
|
|
<ul>
|
|
|
|
{% for book in book_list %}
|
2011-03-06 20:42:07 +01:00
|
|
|
<li><a href="/bok/{{ book.isbn }}">{{ book }}</a></li>
|
2011-03-06 19:01:15 +01:00
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% endblock %}
|
|
|
|
|