mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-13 15:38:59 +00:00
merge User ID column into Name column in Hall of Heroes
This commit is contained in:
parent
a1d0403782
commit
2a4886b325
1 changed files with 10 additions and 14 deletions
|
|
@ -247,9 +247,6 @@
|
|||
<thead>
|
||||
<tr>
|
||||
<th>{{ $t('name') }}</th>
|
||||
<th v-if="hasPermission(user, 'userSupport')">
|
||||
{{ $t('userId') }}
|
||||
</th>
|
||||
<th>{{ $t('contribLevel') }}</th>
|
||||
<th>{{ $t('title') }}</th>
|
||||
<th>{{ $t('contributions') }}</th>
|
||||
|
|
@ -272,18 +269,17 @@
|
|||
v-else
|
||||
:user="hero"
|
||||
/>
|
||||
</td>
|
||||
<td
|
||||
v-if="hasPermission(user, 'userSupport')"
|
||||
:key="hero._id"
|
||||
class="btn-link"
|
||||
>
|
||||
<router-link
|
||||
:to="{ name: 'adminPanelUser',
|
||||
params: { userIdentifier: hero._id } }"
|
||||
>
|
||||
<span v-if="hasPermission(user, 'userSupport')">
|
||||
<br>
|
||||
{{ hero._id }}
|
||||
</router-link>
|
||||
<br>
|
||||
<router-link
|
||||
:to="{ name: 'adminPanelUser',
|
||||
params: { userIdentifier: hero._id } }"
|
||||
>
|
||||
admin panel
|
||||
</router-link>
|
||||
</span>
|
||||
</td>
|
||||
<td>{{ hero.contributor.level }}</td>
|
||||
<td>{{ hero.contributor.text }}</td>
|
||||
|
|
|
|||
Loading…
Reference in a new issue