2017-10-21 03:15:12 +02:00
|
|
|
<div id="admin-invites-list" class="settings-section" data-name="invites-list-admin">
|
2020-04-30 21:41:21 +02:00
|
|
|
{{#unless is_admin }}
|
|
|
|
<div class="tip">{{t "Members can only view or manage invitations that you yourself sent." }}</div>
|
|
|
|
{{/unless}}
|
2021-04-04 15:47:33 +02:00
|
|
|
{{#if can_invite_others_to_realm}}
|
2021-05-14 19:22:14 +02:00
|
|
|
<a class="invite-user-link" href="#invite"><i class="fa fa-user-plus" aria-hidden="true"></i>{{t "Invite more users" }}</a>
|
2021-04-04 15:47:33 +02:00
|
|
|
{{/if}}
|
2019-01-15 09:38:52 +01:00
|
|
|
<div>
|
|
|
|
<h3 class="inline-block">{{t "Invites" }}</h3>
|
|
|
|
<input type="text" class="search" placeholder="{{t 'Filter invites' }}" aria-label="{{t 'Filter invites' }}"/>
|
|
|
|
<div class="alert-notification" id="invites-field-status"></div>
|
|
|
|
</div>
|
2017-10-21 03:15:12 +02:00
|
|
|
<div class="clear-float"></div>
|
|
|
|
|
2020-04-15 12:22:23 +02:00
|
|
|
<div class="progressive-table-wrapper" data-simplebar>
|
2017-10-21 03:15:12 +02:00
|
|
|
<table class="table table-condensed table-striped">
|
2021-02-23 06:23:24 +01:00
|
|
|
<thead class="table-sticky-headers">
|
2020-04-11 20:06:01 +02:00
|
|
|
<th class="active" data-sort="invitee">{{t "Invitee" }}</th>
|
2020-04-30 21:41:21 +02:00
|
|
|
{{#if is_admin }}
|
2019-08-22 07:34:19 +02:00
|
|
|
<th data-sort="alphabetic" data-sort-prop="ref">{{t "Invited by" }}</th>
|
2020-04-30 21:41:21 +02:00
|
|
|
{{/if}}
|
2019-08-22 07:34:19 +02:00
|
|
|
<th data-sort="numeric" data-sort-prop="invited">{{t "Invited at" }}</th>
|
2021-10-04 12:47:03 +02:00
|
|
|
<th data-sort="numeric" data-sort-prop="expires_at">{{t "Expires at" }}</th>
|
2019-08-22 07:34:19 +02:00
|
|
|
<th data-sort="numeric" data-sort-prop="invited_as">{{t "Invited as" }}</th>
|
|
|
|
<th class="actions">{{t "Actions" }}</th>
|
2017-10-21 03:15:12 +02:00
|
|
|
</thead>
|
|
|
|
<tbody id="admin_invites_table" class="required-text thick admin_invites_table" data-empty="{{t 'No invites match your current filter.' }}"></tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
<div id="admin_page_invites_loading_indicator"></div>
|
|
|
|
</div>
|