Multi-platform: support multiple files per version #201

Merged
Oleg-Komarov merged 43 commits from multi-os into main 2024-07-09 16:27:46 +02:00
3 changed files with 19 additions and 10 deletions
Showing only changes of commit 2d11c02c3a - Show all commits

View File

@ -1,10 +1,16 @@
{% load i18n %}
{% if version.platforms.all %}
<div>
Supported platforms:
<ul>
<div class="dl-row">
<div class="dl-col">
<dt>{% trans "Supported Platforms" %}</dt>
<dd>
<ul class="mb-0">
{% for p in version.platforms.all %}
<li>{{p.name}}</li>
{% endfor %}
</ul>
</div>
</dd>
</div>
</div>
{% endif %}

View File

@ -202,11 +202,12 @@
<dt>{% trans 'Compatibility' %}</dt>
<dd>
{% include "extensions/components/blender_version.html" with version=latest %}
{% include "extensions/components/platforms.html" with version=latest %}
</dd>
</div>
</div>
{% include "extensions/components/platforms.html" with version=latest %}
{% if extension.website %}
<div class="dl-row">
<div class="dl-col">

View File

@ -64,10 +64,12 @@
<dt>{% trans 'Compatibility' %}</dt>
<dd>
{% include "extensions/components/blender_version.html" with version=version %}
{% include "extensions/components/platforms.html" with version=version %}
</dd>
</div>
</div>
{% include "extensions/components/platforms.html" with version=version %}
<div class="dl-row">
<div class="dl-col">
<dt>Downloads</dt>