{% if v and v.defaultsorting == 'new' %} {% else %} {% endif %} {% if v %} {% if FEATURES['CHAT'] -%} {%- endif %} {% else %} {% endif %}