Improved MeshCentral Router dialog box.
Ylian Saint-Hilaire committed
Jun 12, 2020 at 14:08 UTC
76c53fb22813a7b86a43734d1055b9e1939b858e
2 files changed
+17
-9
translate/translate.json
+14
-8
@@ -508,10 +508,7 @@
508
},
509
{
510
"en": ", for this link to work you must download MeshCentral Router run it and click the install button.",
511
- "nl": ", om deze link te laten werken, moet u MeshCentral Router downloaden, het uitvoeren en op de installatieknop klikken.",
512
- "xloc": [
513
- "default.handlebars->27->674"
514
- ]
511
+ "nl": ", om deze link te laten werken, moet u MeshCentral Router downloaden, het uitvoeren en op de installatieknop klikken."
512
},
513
{
514
"cs": ", klikněte na něj pravým tlačítkem nebo stiskněte klávesu Ctrl a klikněte na něj levým tlačítkem. Pak vyberte „Otevřít“ a postupujte podle pokynů.",
@@ -14925,6 +14922,12 @@
14922
"default.handlebars->27->1009"
14923
]
14924
},
14925
+ {
14926
+ "en": "Launch MeshCentral Router",
14927
+ "xloc": [
14928
+ "default.handlebars->27->674"
14929
+ ]
14930
+ },
14931
{
14932
"en": "Launch noVNC session to this device",
14933
"nl": "Start een noVNC-sessie op dit apparaat",
@@ -22348,6 +22351,12 @@
22351
"default.handlebars->27->204"
22352
]
22353
},
22354
+ {
22355
+ "en": "Run MeshCentral Router and click \\\"install\\\" to make it launchable from the browser.",
22356
+ "xloc": [
22357
+ "default.handlebars->27->673"
22358
+ ]
22359
+ },
22360
{
22361
"cs": "ruština",
22362
"de": "Russisch",
@@ -25039,10 +25048,7 @@
25048
},
25049
{
25050
"en": "Start MeshCentral Router",
25042
- "nl": "Start MeshCentral Router",
25043
- "xloc": [
25044
- "default.handlebars->27->673"
25045
- ]
25051
+ "nl": "Start MeshCentral Router"
25052
},
25053
{
25054
"en": "Start Time",
views/default.handlebars
+3
-1
@@ -5974,7 +5974,9 @@
5974
var portStr = (serverinfo.port == 443) ? '' : (':' + serverinfo.port);
5975
var url = 'mcrouter://' + servername + portStr + domainUrl + 'control.ashx?c=' + authCookie + '&t=' + serverinfo.tlshash;
5976
//x += addHtmlValue("Launch", '<a style=cursor:pointer target="mcrouterframe" rel="noreferrer noopener" download href="' + url + '">Start MeshCentral Router</a>');
5977
- x += '<br /><div style=width:100%><a style=cursor:pointer target="mcrouterframe" rel="noreferrer noopener" download href="' + url + '">' + "Start MeshCentral Router" + '</a>' + ", for this link to work you must download MeshCentral Router run it and click the install button." + '</div>';
5977
+ //x += '<br /><div style=width:100%><a style=cursor:pointer target="mcrouterframe" rel="noreferrer noopener" download href="' + url + '">' + "Start MeshCentral Router" + '</a>' + ", for this link to work you must download MeshCentral Router run it and click the install button." + '</div>';
5978
+ x += '<br /><div>' + "Run MeshCentral Router and click \"install\" to make it launchable from the browser." + '</div>';
5979
+ x += '<br /><a style=cursor:pointer target="mcrouterframe" rel="noreferrer noopener" download href="' + url + '"><input type=button style=width:100%;cursor:pointer value="' + "Launch MeshCentral Router" + '" /></a>';
5980
x += '<iframe style=display:none name="mcrouterframe"></iframe>';
5981
setDialogMode(2, "MeshCentral Router", 1, null, x, 'fileDownload');
5982
}