{% set displayVisit = statisticIntranet.who is constant('WHO_USER', statisticIntranet) ? 'user' : 'visits' %}
| {{ 'admin.statistic_intranet.show.table.global.month'|trans }} |
{{ ('admin.statistic_intranet.show.table.' ~ displayVisit)|trans }} |
{{ 'admin.statistic_intranet.show.table.global.page'|trans }} |
{% for global in globals %}
| {{ global.createdAt|localizeddate('none', 'none', null, null, 'MMMM Y')|capitalize }} |
{{ global.users }} |
{{ global.pages }} |
{% endfor %}
{% if topViews is not null %}
|
{{ 'admin.statistic_intranet.show.table.top_views.title'|trans|trans({
'%number%': statisticIntranet.views
}) }}
|
|
{% for view in topViews %}
| {{ view.uri }} |
{{ view.number }} |
{% endfor %}
{% endif %}
{% if topVisits is not null %}
|
{{ 'admin.statistic_intranet.show.table.top_visits.title'|trans({
'%number%': statisticIntranet.visits
}) }}
|
|
{% for visit in topVisits %}
| {{ visit.visit.user }} |
{{ visit.number }} |
{% endfor %}
{% endif %}