- extends "smartmin/read.html"

- load i18n

- block read-buttons
  - 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_manage_accounts
    %a.btn.btn-primary.pull-right.manage{href:"{% url 'orgs.org_manage_accounts' %}", role:"button"}
      - trans "Manage Users"

- block extra-style
  :css
    td.read-label {
      width: 200px;
    }

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

- extends "smartmin/read.html"

- load i18n

- block read-buttons
  - 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"

- block extra-style
  :css
    td.read-label {
      width: 200px;
    }

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

Add button to link to the Tokens views
Add button to link to the Tokens views
