Moves supported browser list from the email message to the JS
This commit is contained in:
parent
ac95ea03fe
commit
b36ec5fd01
|
@ -19,7 +19,7 @@
|
||||||
<script src="libs/popover.js?v=1"></script><!-- bootstrap tooltip lib -->
|
<script src="libs/popover.js?v=1"></script><!-- bootstrap tooltip lib -->
|
||||||
<script src="libs/toastr.js?v=1"></script><!-- notifications lib -->
|
<script src="libs/toastr.js?v=1"></script><!-- notifications lib -->
|
||||||
<script src="interface_config.js?v=5"></script>
|
<script src="interface_config.js?v=5"></script>
|
||||||
<script src="libs/app.bundle.js?v=33"></script>
|
<script src="libs/app.bundle.js?v=34"></script>
|
||||||
<script src="analytics.js?v=1"></script><!-- google analytics plugin -->
|
<script src="analytics.js?v=1"></script><!-- google analytics plugin -->
|
||||||
<link rel="stylesheet" href="css/font.css?v=6"/>
|
<link rel="stylesheet" href="css/font.css?v=6"/>
|
||||||
<link rel="stylesheet" href="css/toastr.css?v=1">
|
<link rel="stylesheet" href="css/toastr.css?v=1">
|
||||||
|
|
|
@ -193,6 +193,7 @@
|
||||||
{
|
{
|
||||||
"sharedKey": "This conference is password protected. Please use the following pin when joining:\n\n __sharedKey__ \n\n",
|
"sharedKey": "This conference is password protected. Please use the following pin when joining:\n\n __sharedKey__ \n\n",
|
||||||
"subject": "Invitation to a __appName__ (__conferenceName__)",
|
"subject": "Invitation to a __appName__ (__conferenceName__)",
|
||||||
"body": "Hey there, I%27d like to invite you to a __appName__ conference I%27ve just set up.\n\nPlease click on the following link in order to join the conference.\n\n __roomUrl__\n\n__sharedKeyText__ Note that __appName__ is currently only supported by Chromium, Google Chrome and Opera, so you need to be using one of these browsers.\n\nTalk to you in a sec!"
|
"body": "Hey there, I%27d like to invite you to a __appName__ conference I%27ve just set up.\n\nPlease click on the following link in order to join the conference.\n\n __roomUrl__\n\n__sharedKeyText__ Note that __appName__ is currently only supported by __supportedBrowsers__, so you need to be using one of these browsers.\n\nTalk to you in a sec!",
|
||||||
|
"and": "and"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -4835,12 +4835,14 @@ function inviteParticipants() {
|
||||||
sharedKeyText = sharedKeyText.replace(/\n/g, "%0D%0A");
|
sharedKeyText = sharedKeyText.replace(/\n/g, "%0D%0A");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
var supportedBrowsers = "Chromium, Google Chrome " +
|
||||||
|
APP.translation.translateString("email.and") + " Opera";
|
||||||
var conferenceName = roomUrl.substring(roomUrl.lastIndexOf('/') + 1);
|
var conferenceName = roomUrl.substring(roomUrl.lastIndexOf('/') + 1);
|
||||||
var subject = APP.translation.translateString("email.subject",
|
var subject = APP.translation.translateString("email.subject",
|
||||||
{appName:interfaceConfig.APP_NAME, conferenceName: conferenceName});
|
{appName:interfaceConfig.APP_NAME, conferenceName: conferenceName});
|
||||||
var body = APP.translation.translateString("email.body",
|
var body = APP.translation.translateString("email.body",
|
||||||
{appName:interfaceConfig.APP_NAME, sharedKeyText: sharedKeyText,
|
{appName:interfaceConfig.APP_NAME, sharedKeyText: sharedKeyText,
|
||||||
roomUrl: roomUrl});
|
roomUrl: roomUrl, supportedBrowsers: supportedBrowsers});
|
||||||
body = body.replace(/\n/g, "%0D%0A");
|
body = body.replace(/\n/g, "%0D%0A");
|
||||||
|
|
||||||
if (window.localStorage.displayname) {
|
if (window.localStorage.displayname) {
|
||||||
|
|
|
@ -202,12 +202,14 @@ function inviteParticipants() {
|
||||||
sharedKeyText = sharedKeyText.replace(/\n/g, "%0D%0A");
|
sharedKeyText = sharedKeyText.replace(/\n/g, "%0D%0A");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
var supportedBrowsers = "Chromium, Google Chrome " +
|
||||||
|
APP.translation.translateString("email.and") + " Opera";
|
||||||
var conferenceName = roomUrl.substring(roomUrl.lastIndexOf('/') + 1);
|
var conferenceName = roomUrl.substring(roomUrl.lastIndexOf('/') + 1);
|
||||||
var subject = APP.translation.translateString("email.subject",
|
var subject = APP.translation.translateString("email.subject",
|
||||||
{appName:interfaceConfig.APP_NAME, conferenceName: conferenceName});
|
{appName:interfaceConfig.APP_NAME, conferenceName: conferenceName});
|
||||||
var body = APP.translation.translateString("email.body",
|
var body = APP.translation.translateString("email.body",
|
||||||
{appName:interfaceConfig.APP_NAME, sharedKeyText: sharedKeyText,
|
{appName:interfaceConfig.APP_NAME, sharedKeyText: sharedKeyText,
|
||||||
roomUrl: roomUrl});
|
roomUrl: roomUrl, supportedBrowsers: supportedBrowsers});
|
||||||
body = body.replace(/\n/g, "%0D%0A");
|
body = body.replace(/\n/g, "%0D%0A");
|
||||||
|
|
||||||
if (window.localStorage.displayname) {
|
if (window.localStorage.displayname) {
|
||||||
|
|
Loading…
Reference in New Issue