remove the total counter from all admin pages (#708)

This commit is contained in:
Kevin Papst
2019-04-16 17:20:53 +02:00
committed by GitHub
parent 3a4aa5a001
commit 0d6b8486c4
13 changed files with 4 additions and 40 deletions

View File

@@ -5,7 +5,7 @@
{% import "macros/actions.html.twig" as actions %} {% import "macros/actions.html.twig" as actions %}
{% block page_title %}{{ 'admin_activity.title'|trans }}{% endblock %} {% block page_title %}{{ 'admin_activity.title'|trans }}{% endblock %}
{% block page_subtitle %}{{ 'admin_activity.subtitle'|trans }} {{ 'subtitle.amount'|trans({'%count%': entries.count}) }}{% endblock %} {% block page_subtitle %}{{ 'admin_activity.subtitle'|trans }}{% endblock %}
{% block page_actions %}{{ actions.activities('index') }}{% endblock %} {% block page_actions %}{{ actions.activities('index') }}{% endblock %}
{% block main_before %} {% block main_before %}

View File

@@ -5,7 +5,7 @@
{% import "macros/actions.html.twig" as actions %} {% import "macros/actions.html.twig" as actions %}
{% block page_title %}{{ 'admin_customer.title'|trans }}{% endblock %} {% block page_title %}{{ 'admin_customer.title'|trans }}{% endblock %}
{% block page_subtitle %}{{ 'admin_customer.subtitle'|trans }} {{ 'subtitle.amount'|trans({'%count%': entries.count}) }}{% endblock %} {% block page_subtitle %}{{ 'admin_customer.subtitle'|trans }}{% endblock %}
{% block page_actions %}{{ actions.customers('index') }}{% endblock %} {% block page_actions %}{{ actions.customers('index') }}{% endblock %}
{% block main_before %} {% block main_before %}

View File

@@ -5,7 +5,7 @@
{% import "macros/actions.html.twig" as actions %} {% import "macros/actions.html.twig" as actions %}
{% block page_title %}{{ 'admin_project.title'|trans }}{% endblock %} {% block page_title %}{{ 'admin_project.title'|trans }}{% endblock %}
{% block page_subtitle %}{{ 'admin_project.subtitle'|trans }} {{ 'subtitle.amount'|trans({'%count%': entries.count}) }}{% endblock %} {% block page_subtitle %}{{ 'admin_project.subtitle'|trans }}{% endblock %}
{% block page_actions %}{{ actions.projects('index') }}{% endblock %} {% block page_actions %}{{ actions.projects('index') }}{% endblock %}
{% block main_before %} {% block main_before %}

View File

@@ -4,7 +4,7 @@
{% import "macros/toolbar.html.twig" as toolbar %} {% import "macros/toolbar.html.twig" as toolbar %}
{% block page_title %}{{ 'admin_user.title'|trans }}{% endblock %} {% block page_title %}{{ 'admin_user.title'|trans }}{% endblock %}
{% block page_subtitle %}{{ 'admin_user.subtitle'|trans }} {{ 'subtitle.amount'|trans({'%count%': entries.count}) }}{% endblock %} {% block page_subtitle %}{{ 'admin_user.subtitle'|trans }}{% endblock %}
{% block page_actions %} {% block page_actions %}
{% set actions = {'filter': '#collapseUserAdmin', 'visibility': '#modal_user_admin'} %} {% set actions = {'filter': '#collapseUserAdmin', 'visibility': '#modal_user_admin'} %}
{% if is_granted('create_user') %} {% if is_granted('create_user') %}

View File

@@ -21,10 +21,6 @@
<source>both</source> <source>both</source>
<target>على حد سواء</target> <target>على حد سواء</target>
</trans-unit> </trans-unit>
<trans-unit id="subtitle.amount">
<source>subtitle.amount</source>
<target>(total %count%)</target>
</trans-unit>
<trans-unit id="This is a mandatory field"> <trans-unit id="This is a mandatory field">
<source>This is a mandatory field</source> <source>This is a mandatory field</source>
<target>إلزامي</target> <target>إلزامي</target>

View File

@@ -21,10 +21,6 @@
<source>both</source> <source>both</source>
<target></target> <target></target>
</trans-unit> </trans-unit>
<trans-unit id="subtitle.amount">
<source>subtitle.amount</source>
<target>(insgesamt %count%)</target>
</trans-unit>
<trans-unit id="This is a mandatory field"> <trans-unit id="This is a mandatory field">
<source>This is a mandatory field</source> <source>This is a mandatory field</source>
<target>Pflichtfeld</target> <target>Pflichtfeld</target>

View File

@@ -21,10 +21,6 @@
<source>both</source> <source>both</source>
<target></target> <target></target>
</trans-unit> </trans-unit>
<trans-unit id="subtitle.amount">
<source>subtitle.amount</source>
<target>(total %count%)</target>
</trans-unit>
<trans-unit id="This is a mandatory field"> <trans-unit id="This is a mandatory field">
<source>This is a mandatory field</source> <source>This is a mandatory field</source>
<target>Mandatory</target> <target>Mandatory</target>

View File

@@ -21,10 +21,6 @@
<source>both</source> <source>both</source>
<target>ambos</target> <target>ambos</target>
</trans-unit> </trans-unit>
<trans-unit id="subtitle.amount">
<source>subtitle.amount</source>
<target>(total %count%)</target>
</trans-unit>
<trans-unit id="This is a mandatory field"> <trans-unit id="This is a mandatory field">
<source>This is a mandatory field</source> <source>This is a mandatory field</source>
<target>Requerido</target> <target>Requerido</target>

View File

@@ -21,10 +21,6 @@
<source>both</source> <source>both</source>
<target>les deux</target> <target>les deux</target>
</trans-unit> </trans-unit>
<trans-unit id="subtitle.amount">
<source>subtitle.amount</source>
<target>(total %count%)</target>
</trans-unit>
<trans-unit id="This is a mandatory field"> <trans-unit id="This is a mandatory field">
<source>This is a mandatory field</source> <source>This is a mandatory field</source>
<target>Obligatoire</target> <target>Obligatoire</target>

View File

@@ -21,10 +21,6 @@
<source>both</source> <source>both</source>
<target></target> <target></target>
</trans-unit> </trans-unit>
<trans-unit id="subtitle.amount">
<source>subtitle.amount</source>
<target>(total %count%)</target>
</trans-unit>
<trans-unit id="This is a mandatory field"> <trans-unit id="This is a mandatory field">
<source>This is a mandatory field</source> <source>This is a mandatory field</source>
<target>Kötelező</target> <target>Kötelező</target>

View File

@@ -21,10 +21,6 @@
<source>both</source> <source>both</source>
<target></target> <target></target>
</trans-unit> </trans-unit>
<trans-unit id="subtitle.amount">
<source>subtitle.amount</source>
<target>(total %count%)</target>
</trans-unit>
<trans-unit id="This is a mandatory field"> <trans-unit id="This is a mandatory field">
<source>This is a mandatory field</source> <source>This is a mandatory field</source>
<target>Richiesto</target> <target>Richiesto</target>

View File

@@ -21,10 +21,6 @@
<source>both</source> <source>both</source>
<target>Ambos</target> <target>Ambos</target>
</trans-unit> </trans-unit>
<trans-unit id="subtitle.amount">
<source>subtitle.amount</source>
<target>(total %count%)</target>
</trans-unit>
<trans-unit id="This is a mandatory field"> <trans-unit id="This is a mandatory field">
<source>This is a mandatory field</source> <source>This is a mandatory field</source>
<target>Mandatório</target> <target>Mandatório</target>

View File

@@ -21,10 +21,6 @@
<source>both</source> <source>both</source>
<target></target> <target></target>
</trans-unit> </trans-unit>
<trans-unit id="subtitle.amount">
<source>subtitle.amount</source>
<target>(всего %count%)</target>
</trans-unit>
<trans-unit id="This is a mandatory field"> <trans-unit id="This is a mandatory field">
<source>This is a mandatory field</source> <source>This is a mandatory field</source>
<target>Обязательное поле</target> <target>Обязательное поле</target>