2022-08-21 17:18:00 +02:00
|
|
|
<div class="group_settings_header" data-group-id="{{group.id}}">
|
|
|
|
<div class="tab-container"></div>
|
2023-02-03 10:37:42 +01:00
|
|
|
<div class="button-group">
|
2023-11-16 11:19:17 +01:00
|
|
|
<div class="join_leave_button_wrapper inline-block {{#unless can_edit}}tippy-zulip-tooltip{{/unless}}">
|
|
|
|
<button class="button small rounded join_leave_button" type="button" name="button" {{#unless can_edit}}disabled="disabled"{{/unless}}>
|
|
|
|
{{#if is_member}}
|
|
|
|
{{t "Leave group" }}
|
|
|
|
{{else}}
|
|
|
|
{{t "Join group" }}
|
|
|
|
{{/if}}
|
|
|
|
</button>
|
|
|
|
</div>
|
2023-02-03 10:37:42 +01:00
|
|
|
{{#if can_edit}}
|
2023-09-20 05:45:02 +02:00
|
|
|
<button class="button small rounded btn-danger deactivate tippy-zulip-delayed-tooltip" data-tippy-content="{{t 'Delete group'}}" type="button" name="delete_button"> <i class="fa fa-trash-o" aria-hidden="true"></i></button>
|
2023-02-03 10:37:42 +01:00
|
|
|
{{/if}}
|
|
|
|
</div>
|
2022-08-21 17:18:00 +02:00
|
|
|
</div>
|
2023-11-24 15:20:30 +01:00
|
|
|
<div class="user_group_settings_wrapper" data-group-id="{{group.id}}">
|
2022-08-21 17:18:00 +02:00
|
|
|
<div class="inner-box">
|
|
|
|
|
|
|
|
<div class="group_general_settings group_setting_section">
|
2022-09-02 21:32:34 +02:00
|
|
|
<div class="group-header">
|
|
|
|
<div class="group-name-wrapper">
|
|
|
|
<span class="group-name" title="{{group.name}}">{{group.name}}</span>
|
|
|
|
</div>
|
|
|
|
<div class="group_change_property_info alert-notification"></div>
|
|
|
|
<div class="button-group" {{#unless can_edit}}style="display:none"{{/unless}}>
|
2023-09-20 05:45:02 +02:00
|
|
|
<button id="open_group_info_modal" class="button rounded small btn-warning tippy-zulip-delayed-tooltip" data-tippy-content="{{t 'Change group info' }}">
|
2022-09-02 21:32:34 +02:00
|
|
|
<i class="fa fa-pencil" aria-hidden="true"></i>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="group-description-wrapper">
|
|
|
|
<span class="group-description">
|
|
|
|
{{group.description}}
|
|
|
|
</span>
|
|
|
|
</div>
|
2023-11-27 11:36:07 +01:00
|
|
|
|
|
|
|
<div class="group-permissions settings-subsection-parent" id="group_permission_settings">
|
|
|
|
<div class="subsection-header">
|
|
|
|
<h3 class="user_group_setting_subsection_title">{{t "Group permissions" }}
|
|
|
|
</h3>
|
|
|
|
{{> ../settings/settings_save_discard_widget section_name="group-permissions" }}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{{> group_permissions can_mention_group_widget_name="can_mention_group"}}
|
|
|
|
</div>
|
2022-08-21 17:18:00 +02:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="group_member_settings group_setting_section">
|
2022-08-31 19:21:19 +02:00
|
|
|
<div class="edit_members_for_user_group">
|
|
|
|
{{> user_group_members}}
|
|
|
|
</div>
|
2022-08-21 17:18:00 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|