1
0
mirror of https://github.com/bitwarden/browser synced 2026-01-06 18:43:25 +00:00

UX updates

This commit is contained in:
Kyle Spearrin
2017-06-13 12:37:51 -04:00
parent 0bdf2a3e77
commit a598f08dce
7 changed files with 26 additions and 1 deletions

View File

@@ -49,6 +49,7 @@
};
$scope.lock = function () {
$analytics.eventTrack('Lock Now');
lockService.lock().then(function () {
return $state.go('lock', {
animation: 'in-slide-up'

View File

@@ -1,6 +1,14 @@
angular
.module('bit.settings')
.controller('settingsCreditsController', function ($scope, i18nService) {
.controller('settingsCreditsController', function ($scope, i18nService, $analytics) {
$scope.i18n = i18nService;
$scope.learnMore = function () {
$analytics.eventTrack('Contribute Learn More');
chrome.tabs.create({
url: 'https://github.com/bitwarden/browser/blob/master/CONTRIBUTING.md'
});
};
});

View File

@@ -6,6 +6,7 @@
$scope.i18n = i18nService;
$scope.folder = {};
var folderId = $stateParams.folderId;
$('#name').focus();
folderService.get(folderId, function (folder) {
$q.when(folder.decrypt()).then(function (model) {

View File

@@ -26,6 +26,9 @@
<b>@SW1FT</b> - Portuguese
</div>
</div>
<div class="list-section-footer">
{{i18n.contribute}} <a href="" ng-click="learnMore()">{{i18n.learnMore}}</a>
</div>
</div>
</div>
</div>