diff options
Diffstat (limited to 'djangopypi/templates/djangopypi/pypi_show_links.html')
-rw-r--r-- | djangopypi/templates/djangopypi/pypi_show_links.html | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/djangopypi/templates/djangopypi/pypi_show_links.html b/djangopypi/templates/djangopypi/pypi_show_links.html new file mode 100644 index 0000000..13fc2e5 --- /dev/null +++ b/djangopypi/templates/djangopypi/pypi_show_links.html | |||
@@ -0,0 +1,40 @@ | |||
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><th>Channel</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.version }}</td> | ||
19 | <td>{{ release.upload_time }}</td> | ||
20 | <td>{{ release.distribution.size|filesizeformat }}</td> | ||
21 | <td>{{ release.channel }}</td> | ||
22 | </tr> | ||
23 | {% endfor %} | ||
24 | </tbody></table> | ||
25 | <br/> | ||
26 | <ul class="plainlist"> | ||
27 | <li><strong>License: </strong>{{ project.license }}</li> | ||
28 | <li><strong>Author: </strong><a href="mailto:{{ project.author_email }}">{{ project.author }}</a></li> | ||
29 | <li><strong>Home Page: </strong><a href="{{ project.home_page }}">{{ project.home_page }}</a></li> | ||
30 | <li><strong>Download URL: </strong><a href="{{ project.download_url }}">{{ project.download_url }}</a></li> | ||
31 | <li><strong>Classifiers: </strong> | ||
32 | <ul class="plainlist"> | ||
33 | {% for class in project.classifiers.order_by %} | ||
34 | <li>{{ class }}</li> | ||
35 | {% endfor %} | ||
36 | </ul> | ||
37 | </li> | ||
38 | </ul> | ||
39 | {% endblock %} | ||
40 | |||