Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Ambrosini <marcoambrosini@pm.me>2020-04-07 14:59:09 +0300
committerMarco Ambrosini <marcoambrosini@pm.me>2020-04-07 14:59:09 +0300
commite7ec95a1a371d0bd3f311f1f22b7c7d69f3c0809 (patch)
tree7cc53319b0639facb47d8aa4979383d9731c7ca6 /src/mixins
parent90425a4f9b943fc281d3841b6cdda370f44a323e (diff)
Add documentation
Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
Diffstat (limited to 'src/mixins')
-rw-r--r--src/mixins/browserCheck.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mixins/browserCheck.js b/src/mixins/browserCheck.js
index 27a837f30..7cd9a844c 100644
--- a/src/mixins/browserCheck.js
+++ b/src/mixins/browserCheck.js
@@ -40,13 +40,16 @@ const browserCheck = {
return (this.$browserDetect.isFirefox && this.$browserDetect.meta.version >= 52)
|| (this.$browserDetect.isChrome && this.$browserDetect.meta.version >= 49)
},
+ // Disable the call button and show the tooltip
blockCalls() {
return (this.$browserDetect.isFirefox && this.$browserDetect.meta.version < 52)
|| (this.$browserDetect.isChrome && this.$browserDetect.meta.version < 49)
},
+ // Used both in the toast and in the callbutton tooltip
unsupportedWarning() {
return t('spreed', "The browser you're using is not fully supported by talk. Please use the latest version of {firefox}, {edge}, {chrome} or {safari}.").replace('{firefox}', '<a target="_blank" rel="noreferrer nofollow" class="external" href="https://www.mozilla.org/en-US/firefox/new/">Mozilla Firefox</a>').replace('{edge}', '<a target="_blank" rel="noreferrer nofollow" class="external" href="https://www.microsoft.com/en-us/edge">Microsoft Edge</a>').replace('{chrome}', '<a target="_blank" rel="noreferrer nofollow" class="external" href="https://www.google.com/chrome/?brand=CHBD&gclid=EAIaIQobChMIkY_v0ZDU6AIVhYXVCh0sfA7XEAAYASAAEgIKfPD_BwE&gclsrc=aw.ds">Google Chrome</a>').replace('{safari}', '<a target="_blank" rel="noreferrer nofollow" class="external" href="https://support.apple.com/downloads/safari">Apple Safari</a>')
},
+ // Used in CallButton.vue
callButtonTooltipText() {
if (this.blockCalls) {
return this.unsupportedWarning