Commit 65ae2d3ae56b4cdea964f63960bd7c96ce3e28d8

Thomas de Grivel 2022-01-28T17:38:10

[admin] link to LiveDashboard

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/lib/kmxgit_web/templates/layout/admin_nav.html.heex b/lib/kmxgit_web/templates/layout/admin_nav.html.heex
index 97dfd88..577ce32 100644
--- a/lib/kmxgit_web/templates/layout/admin_nav.html.heex
+++ b/lib/kmxgit_web/templates/layout/admin_nav.html.heex
@@ -21,6 +21,9 @@
           <%= link gettext("Users"), to: Routes.admin_user_path(@conn, :index), class: "nav-link" %>
         </li>
         <li class="navbar-item">
+          <%= link "LiveDashboard", to: Routes.live_dashboard_path(@conn, :home), class: "nav-link" %>
+        </li>
+        <li class="navbar-item">
           <%= link "kmx git", to: "/", class: "nav-link" %>
         </li>
         <li class="navbar-item">