cross linking and display amount of entries

This commit is contained in:
Kevin Papst
2018-01-02 14:24:11 +01:00
parent a31f78d966
commit 3f429a3663
3 changed files with 13 additions and 5 deletions

View File

@@ -4,7 +4,7 @@
{% import "AvanzuAdminThemeBundle:layout:macros.html.twig" as macro %}
{% block page_title %}{{ 'admin_user.title'|trans }}{% endblock %}
{% block page_subtitle %}{{ 'admin_user.subtitle'|trans }}{% endblock %}
{% block page_subtitle %}{{ 'admin_user.subtitle'|trans }} {{ 'subtitle.amount'|trans({'%count%': entries.count}) }}{% endblock %}
{% block main %}
{% if entries.count > 0 %}