File tree Expand file tree Collapse file tree 1 file changed +18
-2
lines changed
Expand file tree Collapse file tree 1 file changed +18
-2
lines changed Original file line number Diff line number Diff line change 66
77< table >
88< thead >
9- < tr > < th > Release</ th > < th > Date</ th > < th > Quick download</ th > </ tr >
9+ < tr >
10+ < th > Release</ th >
11+ < th > Date</ th >
12+ < th > Quick download</ th >
13+ < th > Size</ th >
14+ < th > Verification</ th >
15+ </ tr >
1016</ thead >
1117< tbody >
1218{% for object in object_list %}
1319< tr >
1420 < th > < a href ="{{ object.get_absolute_url }} "> {{ object }}</ a > </ th >
1521 < td > {{ object.date|date:"Y-m-d" }}</ td >
16- < td > < a href ="{{ object.simpledownload.get_absolute_url }} "> {{ object.simpledownload.filename }}</ a > </ td >
22+ {% with object.simpledownload as file %}
23+ < td > < a href ="{{ file.get_absolute_url }} "> {{ file.filename }}</ a > </ td >
24+ < td class ="size "> {{ file.size | filesizeformat }}</ td >
25+ < td >
26+ {% if file.signed %}
27+ [< a href ="{{ file.get_signed_url }} "> PGP</ a > ]
28+ {% endif %}
29+ [< a href ="{{ file.get_absolute_url }}.sha1 "> SHA1</ a > ]
30+ [< a href ="{{ file.get_absolute_url }}.sha256 "> SHA256</ a > ]
31+ </ td >
32+ {% endwith %}
1733</ tr >
1834{% endfor %}
1935</ tbody >
You can’t perform that action at this time.
0 commit comments