mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2026-05-07 00:57:25 +02:00
Statistics is now Page View Statistics (fixes #1885)
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
* Upgraded node dependencies to latest version. Improved speed of JS compilation.
|
||||
* Added modal to confirm updating Grav as well as cool down counter before enabling Update button [#1257](https://github.com/getgrav/grav-plugin-admin/issues/1257)
|
||||
* Better handling of offline/intranet mode when the repository index is missing. Faster admin. [#1916](https://github.com/getgrav/grav-plugin-admin/issues/1916)
|
||||
* Statistics is now Page View Statistics [#1885](https://github.com/getgrav/grav-plugin-admin/issues/1885)
|
||||
1. [](#bugfix)
|
||||
* Fixed Safari issue with new ACL picker field [#1955](https://github.com/getgrav/grav-plugin-admin/issues/1955)
|
||||
* Stop propagation of ACL add button in ACL picker [flex-objects#83](https://github.com/trilbymedia/grav-plugin-flex-objects/issues/83)
|
||||
|
||||
@@ -432,7 +432,7 @@ class AdminPlugin extends Plugin
|
||||
'template' => 'dashboard-maintenance',
|
||||
];
|
||||
$this->grav['twig']->plugins_hooked_dashboard_widgets_top[] = [
|
||||
'name' => $lang->translate('PLUGIN_ADMIN.STATISTICS'),
|
||||
'name' => $lang->translate('PLUGIN_ADMIN.VIEWS_STATISTICS'),
|
||||
'template' => 'dashboard-statistics',
|
||||
];
|
||||
$this->grav['twig']->plugins_hooked_dashboard_widgets_top[] = [
|
||||
|
||||
@@ -111,6 +111,7 @@ PLUGIN_ADMIN:
|
||||
BACKUP_DATE: "Backup Date"
|
||||
|
||||
STATISTICS: "Statistics"
|
||||
VIEWS_STATISTICS: "Page View Statistics"
|
||||
TODAY: "Today"
|
||||
WEEK: "Week"
|
||||
MONTH: "Month"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{% if authorize(['admin.statistics', 'admin.super']) %}
|
||||
<div id="popularity" class="dashboard-item dashboard-right" data-chart-name="popularity" data-chart-type="bar" data-chart-data="{{ {'series': [popularity.getDailyChartData['data']], 'labels': popularity.getDailyChartData['labels']}|json_encode|e('html_attr') }}">
|
||||
<div class="primary-accent default-box-shadow">
|
||||
<h1>{{ "PLUGIN_ADMIN.STATISTICS"|tu }}</h1>
|
||||
<h1>{{ "PLUGIN_ADMIN.VIEWS_STATISTICS"|tu }}</h1>
|
||||
<div class="admin-statistics-chart">
|
||||
<div class="ct-chart chart-loader"><i class="fa fa-refresh fa-spin"></i></div>
|
||||
<div class="flush-bottom button-bar stats-bar">
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
<div class="admin-block">
|
||||
<h1>
|
||||
{{ "PLUGIN_ADMIN.STATISTICS"|tu }}
|
||||
{{ "PLUGIN_ADMIN.VIEWS_STATISTICS"|tu }}
|
||||
</h1>
|
||||
|
||||
{% include 'partials/messages.html.twig' %}
|
||||
|
||||
Reference in New Issue
Block a user