{% extends app.request.xmlHttpRequest ? '@TigrisBase/admin/ajax-layout.html.twig' : '@TigrisBase/admin/layout.html.twig' %} {% block title %}{% if type is empty %}{{ 'content.element.list'|trans }}{% else %}{{ (typeName ~ '.list')|trans }}{% endif %}{% endblock %} {% block main %} {% embed '@TigrisBase/decorators/_card.html.twig' with {'class': ''} %} {% block header %} {{ '.icon-plus'|parse_icons }} {% if type is empty %}{{ 'content.element.add.add'|trans }}{% else %}{{ (typeName ~ '.add.add')|trans }}{% endif %} {% endblock %} {% block body %}
{% if type is empty %}
{% endif %}
{{ '.icon-search'|parse_icons }}
{% endblock %} {% block table %} {% if type.allow_user_adding %} {% endif %} {% if type.categories %} {% endif %} {% if type.published_date %} {% endif %} {% if type.unpublished_date %} {% endif %} {% if type.enable_view_count %} {% endif %} {% if type is empty %}{% endif %} {% if type.allow_user_adding %} {% endif %} {% if type.categories %} {% endif %} {% if type.published_date %} {% endif %} {% if type.unpublished_date %} {% endif %} {% if type.enable_view_count %} {% endif %} {% if type is empty %}{% endif %}
{{ 'content.element.categories'|trans }} {{ 'actions'|trans }}
${ entity.name }${ entity.user.username } ${category.name} ${ $filters.formatDate(entity.createdAt, 'L') } ${ $filters.formatDate(entity.updatedAt, 'L') } - ${ $filters.formatDate(entity.publishedAt, 'L') }${ $filters.formatDate(entity.unpublishedAt, 'L') }${ entity.viewCount } {#{{ 'no'|trans }} {{ 'yes'|trans }}#}
${entity.typeLabel} {% include '@TigrisContent/admin/element/_element_index_options.html.twig' %}
{% endblock %} {% block footer %} {% endblock %} {% endembed %}
{% endblock %}