added filter for global activities (#614)

This commit is contained in:
Kevin Papst
2019-03-05 01:42:06 +01:00
committed by GitHub
parent 642db480ce
commit bce85b04d6
12 changed files with 21 additions and 75 deletions

View File

@@ -18,9 +18,9 @@
{% macro label_visible(visible) %}
{% import _self as macro %}
{% if visible %}
{{ macro.label('badge.visible', 'success') }}
{{ macro.label('yes', 'success') }}
{% else %}
{{ macro.label('badge.invisible', 'default') }}
{{ macro.label('no', 'default') }}
{% endif %}
{% endmacro %}