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 6
6
7
7
< table >
8
8
< 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 >
10
16
</ thead >
11
17
< tbody >
12
18
{% for object in object_list %}
13
19
< tr >
14
20
< th > < a href ="{{ object.get_absolute_url }} "> {{ object }}</ a > </ th >
15
21
< 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 %}
17
33
</ tr >
18
34
{% endfor %}
19
35
</ tbody >
You can’t perform that action at this time.
0 commit comments