Skip to content

Commit

Permalink
Add button to link to the Tokens views
Browse files Browse the repository at this point in the history
  • Loading branch information
norkans7 committed Mar 8, 2018
1 parent d51e757 commit cc1ebc4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion dash/orgs/templates/orgs/org_home.haml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
- if request.user.is_superuser or org_perms.orgs.org_edit
%a.btn.btn-primary.pull-right{href:"{% url 'orgs.org_edit' %}", role:"button"}
- trans "Edit"
- if request.user.is_superuser or org_perms.orgs.org_tokens
%a.btn.btn-primary.pull-right.tokens{href:"{% url 'orgs.org_tokens' %}", role:"button"}
- trans "API Tokens"
- if request.user.is_superuser or org_perms.orgs.org_manage_accounts
%a.btn.btn-primary.pull-right.manage{href:"{% url 'orgs.org_manage_accounts' %}", role:"button"}
- trans "Manage Users"
Expand All @@ -16,6 +19,6 @@
width: 200px;
}

a.manage {
a.manage, a.tokens {
margin-right: 10px;
}

0 comments on commit cc1ebc4

Please sign in to comment.