UI: Improve multi OS display #205
@ -75,16 +75,12 @@
|
|||||||
<dt>Downloads</dt>
|
<dt>Downloads</dt>
|
||||||
<dd>{{ version.download_count }}</dd>
|
<dd>{{ version.download_count }}</dd>
|
||||||
</div>
|
</div>
|
||||||
<div class="dl-col">
|
{% if version.has_single_file %}
|
||||||
<dt>Size</dt>
|
<div class="dl-col">
|
||||||
{% if version.has_single_file %}
|
<dt>Size</dt>
|
||||||
<dd>{{ version.files.first.size_bytes|filesizeformat }}</dd>
|
<dd>{{ version.files.first.size_bytes|filesizeformat }}</dd>
|
||||||
{% else %}
|
</div>
|
||||||
{% for file in version.files.all %}
|
{% endif %}
|
||||||
<dd>{{ file.size_bytes|filesizeformat }} ({{ file.get_platforms|join:", " }})</dd>
|
|
||||||
{% endfor %}
|
|
||||||
{% endif %}
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="dl-row">
|
<div class="dl-row">
|
||||||
<div class="dl-col">
|
<div class="dl-col">
|
||||||
|
Loading…
Reference in New Issue
Block a user