UI: Improve multi OS display #205

Merged
Oleg-Komarov merged 40 commits from ui/multi-os into main 2024-07-16 07:24:07 +02:00
Showing only changes of commit 066eca70b6 - Show all commits

View File

@ -270,14 +270,20 @@
</span> </span>
</button> </button>
<div class="text-center"> <div class="text-center">
<strong> {% if download_list|length > 1 %}
{% with platform=download_item.platform %} <strong>
{{platform.name_first_word}} {% with platform=download_item.platform %}
{% if platform.name_rest %} {{ platform.name_first_word }}
<span class="fw-normal"> - {{ platform.name_rest }}</span>
{% endif %} {% if platform.name_rest %}
{% endwith %} <span class="fw-normal"> - {{ platform.name_rest }}</span>
</strong> {{ download_item.size|filesizeformat }} {% endif %}
{% endwith %}
</strong>
{% endif %}
{{ download_item.size|filesizeformat }}
</div> </div>
</div> </div>
<small class="d-block text-center w-100"> <small class="d-block text-center w-100">