Support visibility for tags (#4086)
This commit is contained in:
@@ -405,6 +405,14 @@
|
||||
{%- if not customer.visible %}bg-orange-lt{% endif -%}
|
||||
{% endmacro %}
|
||||
|
||||
{#
|
||||
To be used like this:
|
||||
<tr class="{{ class_tag_row(tag) }}">
|
||||
#}
|
||||
{% macro class_tag_row(tag) %}
|
||||
{%- if not tag.visible %}bg-orange-lt{% endif -%}
|
||||
{% endmacro %}
|
||||
|
||||
{#
|
||||
To be used like this:
|
||||
<tr {{ customer_row_attr(customer, now) }}>
|
||||
|
||||
Reference in New Issue
Block a user