Orgs: some small fixes, mostly for stability / corner cases

This commit is contained in:
2017-08-23 16:03:54 +02:00
parent e9cb235640
commit 4116357447
4 changed files with 11 additions and 6 deletions

View File

@@ -43,7 +43,7 @@
#item-action-panel
| {% if can_create_organization %}
button.btn(onclick='createNewOrganization(this)') Create new organization (max {{max_organizations}})
button.btn(onclick='createNewOrganization(this)') Create new organization
#create_organization_result_panel
| {% endif %}
@@ -151,7 +151,7 @@ script.
// TODO: create a form to get the initial info from the user.
$.post(
'{{ url_for('pillar.organizations.create_new') }}',
'{{ url_for('pillar.web.organizations.create_new') }}',
{
name: 'New Organization',
seat_count: 1,

View File

@@ -52,9 +52,8 @@
.table-row.properties-org-roles
.table-cell User roles
.table-cell(title='Unable to edit, determined by subscription')
| {{ organization.org_roles | sort | join(', ') }}
| {{ organization.org_roles | hide_none | sort | join(', ') }}
.flamenco-box.manager
h4 Organization members
| {% if can_edit %}