Release 2.44 (#5699)

This commit is contained in:
Kevin Papst
2025-11-19 14:28:54 +01:00
committed by GitHub
parent 8a42c9640f
commit a15c1e56cb
33 changed files with 144 additions and 157 deletions

View File

@@ -226,10 +226,14 @@
{% endmacro %}
{% macro badge_team_access(teams) %}
{% if teams|length > 0 %}
{{ _self.badge_counter(teams|length) }}
{{ _self.badge_counted(teams|length) }}
{% endmacro %}
{% macro badge_counted(amount) %}
{% if amount > 0 %}
{{ _self.badge_counter(amount, null, 'primary') }}
{% else %}
{{ _self.badge_counter(0, null, 'gray') }}
{{ _self.badge_counter(0, null, 'secondary') }}
{% endif %}
{% endmacro %}