{% set pendingIsActive = config.isFeatureAvailable('pending') %} {% set favoriteIsActive = config.isFeatureAvailable('favorite') %} {% set moderationIsActive = config.isFeatureAvailable('moderation') %} {# Section title #} {% if pendingIsActive or favoriteIsActive or moderationIsActive %}
  • {{ 'show.only' | i18n }}
  • {% endif %}
    {# ELEMENT WITH PENDING STATUS#} {% if pendingIsActive %}
  • {{ 'pending.validation' | i18n }} {# --- CHECKBOX ---- #}
  • {% endif %} {# ELEMENTS NEED MODERATION #} {% if moderationIsActive %}
  • {{ 'to.moderate' | i18n }} {# --- CHECKBOX ---- #}
  • {% endif %} {# FAVORITE #} {% if favoriteIsActive %}
  • {{ 'your.favorites' | i18n }} {# --- CHECKBOX ---- #}
  • {% endif %}