mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 13:03:29 +00:00
user_groups: Update empty messages and dropdown display.
Also fixes: https://chat.zulip.org/#narrow/channel/9-issues/topic/.F0.9F.8E.AF.20don't.20offer.20to.20create.20user.20groups.20when.20you.20can't/with/2111141
This commit is contained in:
committed by
Tim Abbott
parent
b5e123a613
commit
ce66d2a4e6
@@ -0,0 +1,13 @@
|
||||
<div class="no-groups-to-show-message">
|
||||
<span class="settings-empty-option-text">
|
||||
{{empty_user_group_list_message}}
|
||||
{{#if all_groups_tab}}
|
||||
{{#if can_create_user_groups}}
|
||||
<a href="#groups/new">{{t "Create a user group"}}</a>
|
||||
{{/if}}
|
||||
{{else}}
|
||||
<a href="#groups/all">{{t "View all user groups"}}</a>
|
||||
{{/if}}
|
||||
</span>
|
||||
</div>
|
||||
|
||||
@@ -32,20 +32,6 @@
|
||||
</span>
|
||||
</div>
|
||||
<div class="no-groups-to-show">
|
||||
<div class="your_groups_tab_empty_text">
|
||||
<span class="settings-empty-option-text">
|
||||
{{t 'You are not a member of any user groups.'}}
|
||||
<a href="#groups/all">{{t 'View all user groups'}}</a>
|
||||
</span>
|
||||
</div>
|
||||
<div class="all_groups_tab_empty_text">
|
||||
<span class="settings-empty-option-text">
|
||||
{{t 'There are no user groups you can view in this organization.'}}
|
||||
{{#if can_create_user_groups}}
|
||||
<a href="#groups/new">{{t 'Create a user group'}}</a>
|
||||
{{/if}}
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="user-groups-list" data-simplebar data-simplebar-tab-index="-1">
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user