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.

settings: Move role to profile page.

Tim Abbott53df9a3958fd
diff --git a/static/templates/settings/account_settings.hbs b/static/templates/settings/account_settings.hbs
index 8744692a3c9..e7b25385564 100644
--- a/static/templates/settings/account_settings.hbs
+++ b/static/templates/settings/account_settings.hbs
@@ -87,10 +87,6 @@
</div>
</form>
- <div class="user-role input-group grid">
- <label for="user_role" class="inline-block title">{{t "Role" }}</label>
- <span>{{user_role_text}}</span>
- </div>
<div class="input-group">
<button type="submit" class="button rounded btn-danger" id="user_deactivate_account_button">
{{t 'Deactivate account' }}
diff --git a/static/templates/settings/profile_settings.hbs b/static/templates/settings/profile_settings.hbs
index d7624455260..d5e55188ee6 100644
--- a/static/templates/settings/profile_settings.hbs
+++ b/static/templates/settings/profile_settings.hbs
@@ -19,6 +19,10 @@
</div>
</form>
+ <div class="input-group grid">
+ <span class="title">{{t "Role" }}: {{user_role_text}}</span>
+ </div>
+
<div class="input-group grid">
<span class="title">{{t "Joined" }}: {{date_joined_text}}</span>
</div>