merge User ID column into Name column in Hall of Heroes

This commit is contained in:
Alys 2022-05-08 20:20:53 +10:00 committed by SabreCat
parent a1d0403782
commit 2a4886b325

View file

@ -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>