From 12ea6f7b3afb97e329950a9ae8923ef3a802385a Mon Sep 17 00:00:00 2001 From: Ylian Saint-Hilaire Date: Sat, 14 Sep 2019 12:10:26 -0700 Subject: [PATCH] Added mesh name to device title. --- MeshCentralServer.njsproj | 1 + views/default-min.handlebars | 2 +- views/default.handlebars | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/MeshCentralServer.njsproj b/MeshCentralServer.njsproj index b1c1caec..6abd1d65 100644 --- a/MeshCentralServer.njsproj +++ b/MeshCentralServer.njsproj @@ -96,6 +96,7 @@ + diff --git a/views/default-min.handlebars b/views/default-min.handlebars index 70762c3c..bae02a68 100644 --- a/views/default-min.handlebars +++ b/views/default-min.handlebars @@ -1 +1 @@ - {{{title}}}
{{{title}}}
{{{title2}}}

{{{logoutControl}}}

 

\ No newline at end of file + {{{title}}}
{{{title}}}
{{{title2}}}

{{{logoutControl}}}

 

\ No newline at end of file diff --git a/views/default.handlebars b/views/default.handlebars index 1db5e390..0a2ab431 100644 --- a/views/default.handlebars +++ b/views/default.handlebars @@ -3993,6 +3993,7 @@ var nname = EscapeHtml(node.name); if (nname.length == 0) { nname = 'None'; } if (((meshrights & 4) != 0) && ((!mesh.flags) || ((mesh.flags & 2) == 0))) { nname = '' + nname + ' '; } + nname += ' - ' + EscapeHtml(mesh.name) + ''; QH('p10deviceName', nname); QH('p11deviceName', nname); QH('p12deviceName', nname);