From 44b855dd48a8de03e7015bf45a80747f2407c733 Mon Sep 17 00:00:00 2001
From: osaajani <>
Date: Tue, 22 Oct 2024 22:37:54 +0200
Subject: [PATCH] fix nav active link on sms stats
---
templates/incs/nav.php | 2 +-
templates/setting/show.php | 1 +
templates/stat/sms-status.php | 2 +-
3 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/templates/incs/nav.php b/templates/incs/nav.php
index 8a83118..ce1cd9a 100644
--- a/templates/incs/nav.php
+++ b/templates/incs/nav.php
@@ -123,7 +123,7 @@
-
>
+ >
Statistiques
diff --git a/templates/setting/show.php b/templates/setting/show.php
index 0bce07b..bf88b48 100644
--- a/templates/setting/show.php
+++ b/templates/setting/show.php
@@ -1025,6 +1025,7 @@
{"id": "events", "name": "Évènements"},
{"id": "commands", "name": "Commandes"},
{"id": "phones", "name": "Téléphones"},
+ {"id": "stats", "name": "Statistiques"},
{"id": "settings", "name": "Réglages"},
],
valueField: 'id',
diff --git a/templates/stat/sms-status.php b/templates/stat/sms-status.php
index b26fee5..3d56814 100644
--- a/templates/stat/sms-status.php
+++ b/templates/stat/sms-status.php
@@ -5,7 +5,7 @@
?>
render('incs/nav', ['page' => 'dashboard'])
+ $this->render('incs/nav', ['page' => 'stats'])
?>