mirror of https://github.com/zulip/zulip.git
Organization settings: "Bots" tab view-only support.
This changes the layout of "organization settings" for non-administrators such that they can view "Bots" ("Actions" column is not made visible).
This commit is contained in:
parent
3f0e33e498
commit
f1e966bfaa
|
@ -6,7 +6,9 @@
|
|||
<th class="wrapped-cell">{{t "Name" }}</th>
|
||||
<th>{{t "Email" }}</th>
|
||||
<th>{{t "Owner" }}</th>
|
||||
<th>{{t "Actions" }}</th>
|
||||
{{#if is_admin}}
|
||||
<th>{{t "Actions" }}</th>
|
||||
{{/if}}
|
||||
</tbody>
|
||||
</table>
|
||||
<div id="admin_page_bots_loading_indicator"></div>
|
||||
|
|
|
@ -57,10 +57,12 @@
|
|||
<i class="icon icon-vector-trash"></i>
|
||||
<div class="text">{{ _('Deactivated users') }}</div>
|
||||
</li>
|
||||
{% endif %}
|
||||
<li class="admin" tabindex="1" data-section="bot-list-admin">
|
||||
<i class="icon icon-vector-github"></i>
|
||||
<div class="text">{{ _('Bots') }}</div>
|
||||
</li>
|
||||
{% if is_admin %}
|
||||
<li class="admin" tabindex="1" data-section="streams-list-admin">
|
||||
<i class="icon icon-vector-exchange"></i>
|
||||
<div class="text">{{ _('Delete streams') }}</div>
|
||||
|
|
Loading…
Reference in New Issue