Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

invite modal: Fix sorting of roles.

Tim Abbott051d448bc006
diff --git a/templates/zerver/app/invite_user.html b/templates/zerver/app/invite_user.html
index 2337e0936a4..73c8d70dc9e 100644
--- a/templates/zerver/app/invite_user.html
+++ b/templates/zerver/app/invite_user.html
@@ -37,11 +37,11 @@
</label>
<div>
<select id="invite_as">
- <option name="invite_as" value="{{ invite_as.MEMBER }}">{{ _('Members') }}</option>
+ <option name="invite_as" value="{{ invite_as.GUEST_USER }}">{{ _('Guests') }}</option>
+ <option name="invite_as" selected="selected" value="{{ invite_as.MEMBER }}">{{ _('Members') }}</option>
{% if is_admin %}
<option name="invite_as" value="{{ invite_as.REALM_ADMIN }}">{{ _('Organization administrators') }}</option>
{% endif %}
- <option name="invite_as" value="{{ invite_as.GUEST_USER }}">{{ _('Guests') }}</option>
{% if is_owner %}
<option name="invite_as" value="{{ invite_as.REALM_OWNER }}">{{ _('Organization owners') }}</option>
{% endif %}