aboutsummaryrefslogtreecommitdiff
path: root/chishop/templates/djangopypi/pypi_show_links.html
diff options
context:
space:
mode:
Diffstat (limited to 'chishop/templates/djangopypi/pypi_show_links.html')
-rw-r--r--chishop/templates/djangopypi/pypi_show_links.html39
1 files changed, 39 insertions, 0 deletions
diff --git a/chishop/templates/djangopypi/pypi_show_links.html b/chishop/templates/djangopypi/pypi_show_links.html
new file mode 100644
index 0000000..6b239d1
--- /dev/null
+++ b/chishop/templates/djangopypi/pypi_show_links.html
@@ -0,0 +1,39 @@
1{% extends "base_site.html" %}
2
3{% block content %}
4<p style="font-style: italic;">
5{{ project.summary }}
6</p>
7{% load safemarkup %}
8{{ project.description|saferst }}
9
10<br/>
11<table><thead><th>Filename</th><th>Platform</th><th>Type</th><th>Version</th><th>Uploaded On</th><th>Size</th></thead>
12<tbody>
13 {% for release in releases %}
14 <tr>
15 <td><a href="{{ release.get_dl_url }}">{{ release.filename }}</a></td>
16 <td>{{ release.platform }}</td>
17 <td>{{ release.type }}</td>
18 <td>{{ release.pyversion }}</td>
19 <td>{{ release.upload_time }}</td>
20 <td>{{ release.distribution.size|filesizeformat }}</td>
21 </tr>
22 {% endfor %}
23</tbody></table>
24<br/>
25<ul class="plainlist">
26<li><strong>License: </strong>{{ project.license }}</li>
27<li><strong>Author: </strong><a href="mailto:{{ project.author_email }}">{{ project.author }}</a></li>
28<li><strong>Home Page: </strong><a href="{{ project.home_page }}">{{ project.home_page }}</a></li>
29<li><strong>Download URL: </strong><a href="{{ project.download_url }}">{{ project.download_url }}</a></li>
30<li><strong>Classifiers: </strong>
31 <ul class="plainlist">
32 {% for class in project.classifiers.order_by %}
33 <li>{{ class }}</li>
34 {% endfor %}
35 </ul>
36</li>
37</ul>
38{% endblock %}
39