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 %} {% if version.platforms.all %}
<div> <div class="dl-row">
Supported platforms: <div class="dl-col">
<ul> <dt>{% trans "Supported Platforms" %}</dt>
{% for p in version.platforms.all %} <dd>
<li>{{p.name}}</li> <ul class="mb-0">
{% endfor %} {% for p in version.platforms.all %}
</ul> <li>{{p.name}}</li>
</div> {% endfor %}
</ul>
</dd>
</div>
</div>
{% endif %} {% endif %}

View File

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

View File

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