diff options
Diffstat (limited to 'chishop/templates')
-rw-r--r-- | chishop/templates/djangopypi/pypi_show_links.html | 3 | ||||
-rw-r--r-- | chishop/templates/djangopypi/show_channel.html | 7 |
2 files changed, 9 insertions, 1 deletions
diff --git a/chishop/templates/djangopypi/pypi_show_links.html b/chishop/templates/djangopypi/pypi_show_links.html index 6e46635..13fc2e5 100644 --- a/chishop/templates/djangopypi/pypi_show_links.html +++ b/chishop/templates/djangopypi/pypi_show_links.html | |||
@@ -8,7 +8,7 @@ | |||
8 | {{ project.description|saferst }} | 8 | {{ project.description|saferst }} |
9 | 9 | ||
10 | <br/> | 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> | 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> | 12 | <tbody> |
13 | {% for release in releases %} | 13 | {% for release in releases %} |
14 | <tr> | 14 | <tr> |
@@ -18,6 +18,7 @@ | |||
18 | <td>{{ release.version }}</td> | 18 | <td>{{ release.version }}</td> |
19 | <td>{{ release.upload_time }}</td> | 19 | <td>{{ release.upload_time }}</td> |
20 | <td>{{ release.distribution.size|filesizeformat }}</td> | 20 | <td>{{ release.distribution.size|filesizeformat }}</td> |
21 | <td>{{ release.channel }}</td> | ||
21 | </tr> | 22 | </tr> |
22 | {% endfor %} | 23 | {% endfor %} |
23 | </tbody></table> | 24 | </tbody></table> |
diff --git a/chishop/templates/djangopypi/show_channel.html b/chishop/templates/djangopypi/show_channel.html new file mode 100644 index 0000000..86d312c --- /dev/null +++ b/chishop/templates/djangopypi/show_channel.html | |||
@@ -0,0 +1,7 @@ | |||
1 | <html><head><title>Links for {{ channel.name }}</title></head><body> | ||
2 | <h1>Links for {{ channel.name }}</h1> | ||
3 | |||
4 | {% for project in projects %} | ||
5 | <a href="{{ project.name }}">{{ project.name }}</a><br /> | ||
6 | {% endfor %} | ||
7 | </body></html> | ||