contentdb/app/templates/packages/list.html

23 lines
460 B
HTML
Raw Normal View History

2018-03-19 19:08:41 +01:00
{% extends "base.html" %}
{% block title %}
{{ title }}
{% endblock %}
{% block content %}
2018-03-21 21:02:53 +01:00
<form method="get" action="">
<input type="text" name="q" value="{{ query or ''}}" />
<input type="submit" value="Search" />
</form>
2018-03-19 19:08:41 +01:00
<ul>
{% for p in packages %}
2018-03-20 04:16:46 +01:00
<li><a href="{{ p.getDetailsURL() }}">
2018-03-19 19:08:41 +01:00
{{ p.title }} by {{ p.author.display_name }}
</a></li>
{% else %}
<li><i>No packages available</i></ul>
{% endfor %}
</ul>
{% endblock %}