fix(heroes): remove broken td and correct indentation

This commit is contained in:
SabreCat
2022-02-08 11:09:05 -06:00
parent 094cf899d8
commit 169634f205
+27 -31
View File
@@ -242,40 +242,36 @@
</div>
</div>
</div>
<div class="table-responsive">
<table class="table table-striped">
<thead>
<tr>
<th>{{ $t('name') }}</th>
<th v-if="user.contributor && user.contributor.admin">
{{ $t('userId') }}
</th>
<th>{{ $t('contribLevel') }}</th>
<th>{{ $t('title') }}</th>
<th>{{ $t('contributions') }}</th>
</tr>
</thead>
<tbody>
<tr
v-for="(hero, index) in heroes"
:key="hero._id"
>
<td
class="btn-link"
<div class="table-responsive">
<table class="table table-striped">
<thead>
<tr>
<th>{{ $t('name') }}</th>
<th v-if="user.contributor && user.contributor.admin">
{{ $t('userId') }}
</th>
<th>{{ $t('contribLevel') }}</th>
<th>{{ $t('title') }}</th>
<th>{{ $t('contributions') }}</th>
</tr>
</thead>
<tbody>
<tr
v-for="(hero, index) in heroes"
:key="hero._id"
>
<td>
<user-link
v-if="hero.contributor && hero.contributor.admin"
:user="hero"
:popover="$t('gamemaster')"
popover-trigger="mouseenter"
popover-placement="right"
/>
<user-link
v-if="!hero.contributor || !hero.contributor.admin"
:user="hero"
/>
<user-link
v-if="hero.contributor && hero.contributor.admin"
:user="hero"
:popover="$t('gamemaster')"
popover-trigger="mouseenter"
popover-placement="right"
/>
<user-link
v-else
:user="hero"
/>
</td>
<td
v-if="user.contributor.admin"