1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-15 15:53:27 +00:00

misc fixes

This commit is contained in:
Kyle Spearrin
2017-07-12 13:38:06 -04:00
parent 13fbfc43f9
commit 81ad214f2f
6 changed files with 33 additions and 14 deletions

View File

@@ -80,7 +80,9 @@
cancelButtonText: i18nService.cancel
}, function (confirmed) {
$analytics.eventTrack('Clicked Change Password');
alertCallback(confirmed);
if (confirmed) {
chrome.tabs.create({ url: 'https://help.bitwarden.com/article/change-your-master-password/' });
}
});
};
@@ -93,7 +95,9 @@
cancelButtonText: i18nService.cancel
}, function (confirmed) {
$analytics.eventTrack('Clicked Change Email');
alertCallback(confirmed);
if (confirmed) {
chrome.tabs.create({ url: 'https://help.bitwarden.com/article/change-your-email/' });
}
});
};
@@ -106,16 +110,12 @@
cancelButtonText: i18nService.cancel
}, function (confirmed) {
$analytics.eventTrack('Clicked Two-step Login');
alertCallback(confirmed);
if (confirmed) {
chrome.tabs.create({ url: 'https://help.bitwarden.com/article/setup-two-step-login/' });
}
});
};
function alertCallback(confirmed) {
if (confirmed) {
chrome.tabs.create({ url: 'https://vault.bitwarden.com' });
}
}
$scope.rate = function () {
$analytics.eventTrack('Rate Extension');

View File

@@ -28,7 +28,7 @@
}, function (confirmed) {
if (confirmed) {
$analytics.eventTrack('Launch Web Vault For Import');
chrome.tabs.create({ url: 'https://vault.bitwarden.com' });
chrome.tabs.create({ url: 'https://help.bitwarden.com/article/import-data/' });
}
});
};

View File

@@ -21,7 +21,7 @@ angular
}
if (files[0].size > 104857600) { // 100 MB
toastr.error(i18nService.fileTooLarge, i18nService.errorsOccurred);
toastr.error(i18nService.maxFileSize, i18nService.errorsOccurred);
return deferred.promise;
}

View File

@@ -37,6 +37,9 @@
<input type="file" id="file" name="file" />
</div>
</div>
<div class="list-section-footer">
{{i18n.maxFileSize}}
</div>
</div>
</div>
</div>