1
0
Fork 0
mirror of https://github.com/YunoHost/apps.git synced 2024-09-03 20:06:07 +02:00

remove deprecated softwares from the main catalog list and add a dedicated list at the bottom

This commit is contained in:
OniriCorpe 2024-03-05 19:33:46 +01:00
parent c224d5f087
commit 606cc86751

View file

@ -143,7 +143,7 @@
<div id="catalogGoodQuality" class="grid grid-cols-1 gap-4 sm:grid-cols-2 md:grid-cols-3 max-w-screen-lg mx-auto pt-10">
{% for app, infos in catalog['apps'].items() %}
{% if infos['level'] and infos['level'] != "?" and infos['level'] > 4 %}
{% if infos['level'] and infos['level'] != "?" and infos['level'] > 4 and not "deprecated-software" in infos['antifeatures'] %}
{{ appCard(app, infos, timestamp_now, catalog) }}
{% endif %}
{% endfor %}
@ -160,6 +160,7 @@
</p>
</div>
<div id="lowQualityAppTitle" class="text-center pt-10 mx-4 md:mx-0">
<h2 class="text-lg font-bold text-gray-900">
{{ _("Applications currently flagged as broken") }}
@ -178,6 +179,24 @@
{% endfor %}
</div>
<div id="deprecatedAppTitle" class="text-center pt-10 mx-4 md:mx-0">
<h2 class="text-lg font-bold text-gray-900">
{{ _("Deprecated applications") }}
</h2>
<p class="text-sm">
{{ _("These are apps who are not maintained anymore.") }}<br/>
{{ _("This means that the developer will no longer update them. We strongly advise against their installation and advise users to find alternatives.") }}
</p>
</div>
<div id="catalogDeprecated" class="grid grid-cols-1 gap-4 sm:grid-cols-2 md:grid-cols-3 max-w-screen-lg mx-auto pt-10">
{% for app, infos in catalog['apps'].items() %}
{% if "deprecated-software" in infos['antifeatures'] %}
{{ appCard(app, infos, timestamp_now, catalog) }}
{% endif %}
{% endfor %}
</div>
<script type="text/javascript">
// A little delay