Projects/worblehat-old
Projects
/
worblehat-old
Archived
12
0
Fork 0
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.
worblehat-old/python/web/templates/search/search.html

32 lines
809 B
HTML
Raw Permalink Normal View History

{% extends "base/main.html" %}
{% block title %}
Søk
{% endblock %}
{% block content %}
<h2>Søk</h2>
Du søkte på <b>{{ search_string }}</b>.<br/><br/>
{% if people %}
<span class="key">Personer:</span><br/>
{% for person in people %}
<a href="/person/{{ person.id }}/">{{ person.first_name }} {{ person.last_name }}</a><br>
{% endfor %}
<br/>
{% endif %}
{% if books %}
<span class="key">Bøker:</span><br/>
{% for book in books %}
<a href="/bok/{{ book.isbn }}/">{{ book.title }}</a><br>
{% endfor %}
<br/>
{% endif %}
{% if categories %}
<span class="key">Kategorier:</span><br/>
{% for category in categories %}
<a href="/kategori/{{ category.id }}/">{{ category.name }}</a><br>
{% endfor %}
<br/>
{% endif %}
{% endblock %}