2017-07-11 11:24:51 +02:00
|
|
|
<div id="admin-bot-list" class="settings-section" data-name="bot-list-admin">
|
2023-03-03 14:14:01 +01:00
|
|
|
<div class="bot-settings-tip" id="admin-bot-settings-tip">
|
|
|
|
</div>
|
2017-05-09 22:09:31 +02:00
|
|
|
<div class="clear-float"></div>
|
2022-09-16 12:40:13 +02:00
|
|
|
<div>
|
2023-01-24 22:33:40 +01:00
|
|
|
{{t "You are viewing all the bots in this organization." }}
|
2023-10-11 16:01:46 +02:00
|
|
|
<span class="add-new-bots" {{#unless can_create_new_bots}}style="display: none;"{{/unless}}>
|
2023-01-24 22:33:40 +01:00
|
|
|
{{#tr}}
|
|
|
|
You can <z-link-new-bot>add a new bot</z-link-new-bot> or <z-link-manage-bot>manage</z-link-manage-bot> your own bots.
|
|
|
|
{{#*inline "z-link-new-bot"}}<a class="add-a-new-bot">{{> @partial-block}}</a>{{/inline}}
|
|
|
|
{{#*inline "z-link-manage-bot"}}<a href="/#settings/your-bots">{{> @partial-block}}</a>{{/inline}}
|
|
|
|
{{/tr}}
|
2023-10-11 16:01:46 +02:00
|
|
|
</span>
|
|
|
|
<span class="manage-your-bots" {{#unless (and (not can_create_new_bots) has_bots)}}style="display: none;"{{/unless}}>
|
2023-01-24 22:33:40 +01:00
|
|
|
{{#tr}}
|
|
|
|
You can <z-link>manage</z-link> your own bots.
|
|
|
|
{{#*inline "z-link"}}<a href="/#settings/your-bots">{{> @partial-block}}</a>{{/inline}}
|
|
|
|
{{/tr}}
|
2023-10-11 16:01:46 +02:00
|
|
|
</span>
|
2022-09-16 12:40:13 +02:00
|
|
|
</div>
|
2022-03-04 13:06:28 +01:00
|
|
|
<div class="settings_panel_list_header">
|
|
|
|
<h3>{{t "Bots"}}</h3>
|
2022-03-20 17:58:28 +01:00
|
|
|
<div class="alert-notification" id="bot-field-status"></div>
|
2023-06-23 13:22:29 +02:00
|
|
|
<input type="text" class="search filter_text_input" placeholder="{{t 'Filter bots' }}" aria-label="{{t 'Filter bots' }}"/>
|
2022-03-04 13:06:28 +01:00
|
|
|
</div>
|
|
|
|
|
2020-04-15 12:22:23 +02:00
|
|
|
<div class="progressive-table-wrapper" data-simplebar>
|
2023-08-07 09:32:19 +02:00
|
|
|
<table class="table table-striped wrapped-table">
|
2021-02-23 06:23:24 +01:00
|
|
|
<thead class="table-sticky-headers">
|
2019-08-22 10:33:44 +02:00
|
|
|
<th class="active" data-sort="alphabetic" data-sort-prop="full_name">{{t "Name" }}</th>
|
2020-05-10 14:08:54 +02:00
|
|
|
<th data-sort="email">{{t "Email" }}</th>
|
2022-03-31 08:31:45 +02:00
|
|
|
<th class="user_role" data-sort="role">{{t "Role" }}</th>
|
2019-08-22 06:23:41 +02:00
|
|
|
<th data-sort="bot_owner">{{t "Owner" }}</th>
|
2022-10-11 14:20:27 +02:00
|
|
|
<th data-sort="alphabetic" data-sort-prop="bot_type" class="bot_type">{{t "Bot type" }}</th>
|
2019-08-22 06:23:41 +02:00
|
|
|
{{#if is_admin}}
|
|
|
|
<th class="actions">{{t "Actions" }}</th>
|
|
|
|
{{/if}}
|
|
|
|
</thead>
|
2023-07-13 17:43:12 +02:00
|
|
|
<tbody id="admin_bots_table" class="admin_bot_table"
|
2018-04-05 08:38:46 +02:00
|
|
|
data-empty="{{t 'No bots match your current filter.' }}"></tbody>
|
2017-04-20 21:58:12 +02:00
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
<div id="admin_page_bots_loading_indicator"></div>
|
2016-10-05 02:49:17 +02:00
|
|
|
</div>
|