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 class="wrapped-cell">{{t "Name" }}</th>
|
||||||
<th>{{t "Email" }}</th>
|
<th>{{t "Email" }}</th>
|
||||||
<th>{{t "Owner" }}</th>
|
<th>{{t "Owner" }}</th>
|
||||||
<th>{{t "Actions" }}</th>
|
{{#if is_admin}}
|
||||||
|
<th>{{t "Actions" }}</th>
|
||||||
|
{{/if}}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<div id="admin_page_bots_loading_indicator"></div>
|
<div id="admin_page_bots_loading_indicator"></div>
|
||||||
|
|
|
@ -57,10 +57,12 @@
|
||||||
<i class="icon icon-vector-trash"></i>
|
<i class="icon icon-vector-trash"></i>
|
||||||
<div class="text">{{ _('Deactivated users') }}</div>
|
<div class="text">{{ _('Deactivated users') }}</div>
|
||||||
</li>
|
</li>
|
||||||
|
{% endif %}
|
||||||
<li class="admin" tabindex="1" data-section="bot-list-admin">
|
<li class="admin" tabindex="1" data-section="bot-list-admin">
|
||||||
<i class="icon icon-vector-github"></i>
|
<i class="icon icon-vector-github"></i>
|
||||||
<div class="text">{{ _('Bots') }}</div>
|
<div class="text">{{ _('Bots') }}</div>
|
||||||
</li>
|
</li>
|
||||||
|
{% if is_admin %}
|
||||||
<li class="admin" tabindex="1" data-section="streams-list-admin">
|
<li class="admin" tabindex="1" data-section="streams-list-admin">
|
||||||
<i class="icon icon-vector-exchange"></i>
|
<i class="icon icon-vector-exchange"></i>
|
||||||
<div class="text">{{ _('Delete streams') }}</div>
|
<div class="text">{{ _('Delete streams') }}</div>
|
||||||
|
|
Loading…
Reference in New Issue