aboutsummaryrefslogtreecommitdiff
path: root/djangopypi/templates/djangopypi/pypi_show_links.html
blob: 13fc2e546236fba588b31a62615edfa07257d8fb (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
32
33
34
35
36
37
38
39
40
{% extends "base_site.html" %}

{% block content %}
<p style="font-style: italic;">
{{ project.summary }}
</p>
{% load safemarkup %}
{{ project.description|saferst }}

<br/>
<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>
<tbody>
    {% for release in releases %}
    <tr>
        <td><a href="{{ release.get_dl_url }}">{{ release.filename }}</a></td>
        <td>{{ release.platform }}</td>
        <td>{{ release.type }}</td>
        <td>{{ release.version }}</td>
        <td>{{ release.upload_time }}</td>
        <td>{{ release.distribution.size|filesizeformat }}</td>
        <td>{{ release.channel }}</td>
    </tr>
    {% endfor %}
</tbody></table>
<br/>
<ul class="plainlist">
<li><strong>License: </strong>{{ project.license }}</li>
<li><strong>Author: </strong><a href="mailto:{{ project.author_email }}">{{ project.author }}</a></li>
<li><strong>Home Page: </strong><a href="{{ project.home_page }}">{{ project.home_page }}</a></li>
<li><strong>Download URL: </strong><a href="{{ project.download_url }}">{{ project.download_url }}</a></li>
<li><strong>Classifiers: </strong>
    <ul class="plainlist">
    {% for class in project.classifiers.order_by %}
        <li>{{ class }}</li>
    {% endfor %}
    </ul>
</li>
</ul>
{% endblock %}