support more columns in listings (#1548)
This commit is contained in:
@@ -136,6 +136,15 @@
|
||||
</span>
|
||||
{% endmacro %}
|
||||
|
||||
{% macro badge_team_access(teams) %}
|
||||
{% import _self as macro %}
|
||||
{% if teams|length > 0 %}
|
||||
{{ macro.badge_counter(teams|length) }}
|
||||
{% else %}
|
||||
{{ macro.icon('unlocked') }}
|
||||
{% endif %}
|
||||
{% endmacro %}
|
||||
|
||||
{% macro badge_counter(count, url) %}
|
||||
{% if url %}
|
||||
<a href="{{ url }}"><span class="badge bg-blue">{{ count }}</span></a>
|
||||
|
||||
Reference in New Issue
Block a user