blob: c2139ad8928b0b1739a19fd76afca7cbe7ba02c0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
{% extends "base_site.html" %}
{% block bread_crumbs_1 %}›Search{% endblock %}
{% block content %}
{% ifnotequal search_value ''%}
<h1>Index of Packages Matching '{{ search_value }}'</h1>
{% else %}
<h1>You need to supply a search term.</h1>
{% endifnotequal %}
{% if dists %}
<table>
<thead>
<th>Updated</th>
<th>Package</th>
<th>Summary</th>
</thead>
<tbody>
{% for dist in dists %}
<tr>
<td>{{ dist.updated|date:"d/m/y" }}
<td><a href="{{ dist.get_pypi_absolute_url }}"/>{{ dist.name }}</a></td>
<td>{{ dist.summary|truncatewords:10 }}</td>
</tr>
{% endfor %}
</tbody>
</table>
{% else %}
There were no matches.
{% endif %}
{% endblock content %}
|