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

Dash, add a column with the number of opened issues per app

This commit is contained in:
Nathanaël Hannebert 2024-06-19 22:27:04 +02:00
parent 258d65c0d9
commit dc1ababcc4

View file

@ -82,6 +82,7 @@
<th class="-rotate-90 md:-rotate-45 max-w-10 md:max-w-16 text-left text-nowrap">{{ _("Bookworm CI") }}</th>
<th class="-rotate-90 md:-rotate-45 max-w-10 md:max-w-16 text-left text-nowrap">{{ _("Testing PR") }}</th>
<th class="-rotate-90 md:-rotate-45 max-w-10 md:max-w-16 text-left text-nowrap">{{ _("Autoupdate PR") }}</th>
<th class="-rotate-90 md:-rotate-45 max-w-10 md:max-w-16 text-left text-nowrap">{{ _("Issues") }}</th>
<th></th>
</tr>
{% for app, infos in data.items() %}
@ -195,6 +196,13 @@
</a>
{% endif %}
</td>
<td class="border-r-2 border-gray-100 text-center"
{% if infos["nb_issues"] != 0 %}
<a href="{{ url_for('app_info', app_id=app) }}">
{{ infos["nb_issues"] }}
</a>
{% endif %}
</td>
<td class="px-3 truncate text-sm max-w-16 sm:max-w-full">
{% if this_app_stars > 0 %}
<span class="text-xs border-purple-400 text-purple-600 px-1 py-0 border rounded">{{ this_app_stars }}