2017-10-21 03:15:12 +02:00
|
|
|
{{#with invite}}
|
|
|
|
<tr class="invite_row">
|
|
|
|
<td>
|
2019-02-15 19:09:25 +01:00
|
|
|
{{#if is_multiuse}}
|
2020-05-26 05:15:21 +02:00
|
|
|
<span class="email">
|
|
|
|
<a href="{{link_url}}" target="_blank" rel="noopener noreferrer">
|
|
|
|
{{t 'Invite link'}}
|
|
|
|
</a>
|
|
|
|
</span>
|
2019-02-15 19:09:25 +01:00
|
|
|
{{else}}
|
2017-10-21 03:15:12 +02:00
|
|
|
<span class="email">{{email}}</span>
|
2017-12-12 15:10:09 +01:00
|
|
|
{{/if}}
|
2017-10-21 03:15:12 +02:00
|
|
|
</td>
|
2020-04-30 21:41:21 +02:00
|
|
|
{{#if is_admin}}
|
2017-10-21 03:15:12 +02:00
|
|
|
<td>
|
2020-07-03 22:03:39 +02:00
|
|
|
<span class="referred_by">
|
2022-02-14 21:34:58 +01:00
|
|
|
<a data-user-id="{{invited_by_user_id}}" class="view_user_profile" tabindex="0">{{referrer_name}}</a>
|
2020-07-03 22:03:39 +02:00
|
|
|
</span>
|
2017-10-21 03:15:12 +02:00
|
|
|
</td>
|
2020-04-30 21:41:21 +02:00
|
|
|
{{/if}}
|
2017-10-21 03:15:12 +02:00
|
|
|
<td>
|
2019-02-15 19:28:03 +01:00
|
|
|
<span class="invited_at">{{invited_absolute_time}}</span>
|
2017-10-21 03:15:12 +02:00
|
|
|
</td>
|
2021-10-04 12:47:03 +02:00
|
|
|
<td>
|
2021-12-01 12:10:58 +01:00
|
|
|
{{#if expiry_date_absolute_time}}
|
2021-10-04 12:47:03 +02:00
|
|
|
<span class="expires_at">{{expiry_date_absolute_time}}</span>
|
2021-12-01 12:10:58 +01:00
|
|
|
{{else}}
|
|
|
|
<span class="expires_at">{{t "Never expires"}}</span>
|
|
|
|
{{/if}}
|
2021-10-04 12:47:03 +02:00
|
|
|
</td>
|
2019-01-03 16:59:21 +01:00
|
|
|
<td>
|
|
|
|
<span>{{invited_as_text}}</span>
|
|
|
|
</td>
|
2019-08-22 10:33:44 +02:00
|
|
|
<td class="actions">
|
2019-02-15 19:09:25 +01:00
|
|
|
{{#unless is_multiuse}}
|
2020-06-18 13:03:06 +02:00
|
|
|
<button class="button rounded small resend btn-warning" {{#if disable_buttons}}disabled="disabled"{{/if}} data-invite-id="{{id}}">
|
2017-10-21 03:15:12 +02:00
|
|
|
{{t "Resend" }}
|
|
|
|
</button>
|
2019-02-15 19:09:25 +01:00
|
|
|
{{/unless}}
|
2021-05-13 12:11:40 +02:00
|
|
|
<button class="button rounded small revoke btn-danger" {{#if disable_buttons}}disabled="disabled"{{/if}} data-invite-id="{{id}}" data-is-multiuse="{{is_multiuse}}">
|
|
|
|
{{t "Revoke" }}
|
|
|
|
</button>
|
2017-10-21 03:15:12 +02:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
{{/with}}
|