zulip/static/templates/settings/data_exports_admin.hbs

43 lines
1.9 KiB
Handlebars
Raw Normal View History

<div id="data-exports" class="settings-section" data-name="data-exports-admin">
<h3>{{t "Data exports" }}
{{> ../help_link_widget link="/help/export-your-organization" }}
</h3>
<p>
{{t 'Exports all users, settings, and all data visible in public streams.' }}
{{t 'Any organization administrator can conduct an export.'}}
{{t 'Depending on the size of your organization, an export can take anywhere from seconds to an hour.' }}
</p>
<p>
{{#tr this}}<a href="/help/export-your-organization" target="_blank" rel="noopener noreferrer">Click here</a> to learn about exporting private streams and messages.{{/tr}}
{{t 'Note that organizations are limited to five exports per week.' }}
</p>
{{#if is_admin}}
<div class="alert" id="export_status" role="alert">
<span class="export_status_text"></span>
</div>
<form class="form-horizontal">
<div class="add-new-export-box grey-box">
<div class="wrapper">
<button type="submit" class="button rounded sea-green" id="export-data">
{{t 'Start public export' }}
</button>
</div>
</div>
</form>
{{/if}}
<input type="hidden" class="search" placeholder="{{t 'Filter exports' }}"
aria-label="{{t 'Filter exports' }}"/>
<div class="progressive-table-wrapper" data-simplebar>
<table class="table table-condensed table-striped wrapped-table admin_exports_table">
<thead>
<th class="active" data-sort="user">{{t "Requesting user" }}</th>
<th data-sort="numeric" data-sort-prop="export_time">{{t "Time" }}</th>
<th>{{t "Status" }}</th>
<th class="actions">{{t "Actions" }}</th>
</thead>
<tbody id="admin_exports_table" class="required-text" data-empty="{{t 'No exports.' }}"></tbody>
</table>
</div>
</div>