Multi-platform: support multiple files per version #201
@ -73,7 +73,7 @@
|
||||
<dd>{{ version.files.first.size_bytes|filesizeformat }}</dd>
|
||||
{% else %}
|
||||
{% for file in version.files.all %}
|
||||
<dd>{{ file.size_bytes|filesizeformat }} ({{ file.platforms|join:", " }})</dd>
|
||||
<dd>{{ file.size_bytes|filesizeformat }} ({{ file.get_platforms|join:", " }})</dd>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
</div>
|
||||
|
@ -191,7 +191,7 @@
|
||||
<dd>{{ latest.files.first.size_bytes|filesizeformat }}</dd>
|
||||
{% else %}
|
||||
{% for file in latest.files.all %}
|
||||
<dd>{{ file.size_bytes|filesizeformat }} ({{ file.platforms|join:", " }})</dd>
|
||||
<dd>{{ file.size_bytes|filesizeformat }} ({{ file.get_platforms|join:", " }})</dd>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
</div>
|
||||
|
@ -34,7 +34,7 @@
|
||||
<li class="show-on-collapse">{{ version.files.first.size_bytes|filesizeformat }}</li>
|
||||
{% else %}
|
||||
{% for file in version.files.all %}
|
||||
<li class="show-on-collapse">{{ file.size_bytes|filesizeformat }} ({{ file.platforms|join:", " }})</li>
|
||||
<li class="show-on-collapse">{{ file.size_bytes|filesizeformat }} ({{ file.get_platforms|join:", " }})</li>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
<li class="show-on-collapse"><i class="i-download"></i> {{ version.download_count }}</li>
|
||||
@ -79,7 +79,7 @@
|
||||
<dd>{{ version.files.first.size_bytes|filesizeformat }}</dd>
|
||||
{% else %}
|
||||
{% for file in version.files.all %}
|
||||
<dd>{{ file.size_bytes|filesizeformat }} ({{ file.platforms|join:", " }})</dd>
|
||||
<dd>{{ file.size_bytes|filesizeformat }} ({{ file.get_platforms|join:", " }})</dd>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user