{% macro render_username(user) %} {% if user.deleted %} [deleted] {% else %} {{ user.user_name }} {% endif %} {% endmacro %}