zulip/static/templates/settings/data_exports_admin.hbs

46 lines
2.0 KiB
Handlebars

<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}}
<z-link>Click here</z-link> to learn about exporting private streams and messages.
{{#*inline "z-link"}}<a href="/help/export-your-organization" target="_blank" rel="noopener noreferrer">{{> @partial-block}}</a>{{/inline}}
{{/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 class="table-sticky-headers">
<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>