Skip to content

Commit

Permalink
Merge pull request #68 from wandera/accounts_shortcut
Browse files Browse the repository at this point in the history
add Accounts Settings shortcut
  • Loading branch information
tstolarik authored Dec 13, 2021
2 parents 4dfdca6 + ec798a2 commit d7d84be
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions res/app/control-panes/dashboard/apps/apps-controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@ module.exports = function ShellCtrl($scope) {
$scope.openTestDpc = function() {
run('am start com.afwsamples.testdpc/.PolicyManagementActivity')
}

$scope.openAccountsSettings = function() {
openSetting('AccountDashboardActivity')
}
// WANDERA CUSTOM - END

$scope.openLocaleSettings = function() {
Expand Down
4 changes: 4 additions & 0 deletions res/app/control-panes/dashboard/apps/apps.pug
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@
i.fa.fa-gear.fa-lg.color-darkgray
.icon-title {{"VPN Settings" | translate}}

button.btn.btn-primary-outline.icon-app.pull-right(ng-click='openAccountsSettings()')
i.fa.fa-gear.fa-lg.color-darkgray
.icon-title {{"Accounts" | translate}}

button.btn.btn-primary-outline.icon-app.pull-right(ng-click='openTestDpc()')
i.fa.fa-briefcase.fa-lg.color-blue
.icon-title {{"TestDPC" | translate}}
Expand Down

0 comments on commit d7d84be

Please sign in to comment.