refactored translations, preparing sending of document
This commit is contained in:
@@ -33,19 +33,19 @@
|
||||
|
||||
<fieldset tabindex="0">
|
||||
<legend>
|
||||
{t('user.list')}
|
||||
{t('list')}
|
||||
{#if user.permissions.includes('CREATE_USERS')}
|
||||
<button onclick={() => router.navigate('/user/create')}>{t('user.create_new')}</button>
|
||||
<button onclick={() => router.navigate('/user/create')}>{t('create_new')}</button>
|
||||
{/if}
|
||||
</legend>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>{t('user.id')}</th>
|
||||
<th>{t('user.name')}</th>
|
||||
<th>{t('user.email')}</th>
|
||||
<th>{t('user.language')}</th>
|
||||
<th>{t('user.actions')}</th>
|
||||
<th>{t('id')}</th>
|
||||
<th>{t('name')}</th>
|
||||
<th>{t('email')}</th>
|
||||
<th>{t('language')}</th>
|
||||
<th>{t('actions')}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@@ -57,10 +57,10 @@
|
||||
<td>{u.language}</td>
|
||||
<td>
|
||||
{#if user.permissions.includes('IMPERSONATE')}
|
||||
<button onclick={() => impersonate(u.id)}>{t('user.impersonate')}</button>
|
||||
<button onclick={() => impersonate(u.id)}>{t('impersonate')}</button>
|
||||
{/if}
|
||||
{#if user.permissions.includes('UPDATE_USERS')}
|
||||
<button onclick={() => router.navigate(`/user/${u.id}/edit`)}>{t('user.edit')}</button>
|
||||
<button onclick={() => router.navigate(`/user/${u.id}/edit`)}>{t('edit')}</button>
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
Reference in New Issue
Block a user