mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 23:27:26 +01:00
automatic lint fixes (#14942)
* automatic lint fixes * rerun lint --------- Co-authored-by: negue <eugen.bolz@gmail.com>
This commit is contained in:
@@ -20,23 +20,38 @@
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-12" v-if="selectedTab === 'gems'">
|
||||
<div
|
||||
v-if="selectedTab === 'gems'"
|
||||
class="col-12"
|
||||
>
|
||||
<span v-if="gemTransactions.length === 0">
|
||||
{{ $t('noGemTransactions') }}
|
||||
</span>
|
||||
<table class="table">
|
||||
<tr>
|
||||
<th v-once class="timestamp-column">
|
||||
{{ $t('timestamp')}}
|
||||
<th
|
||||
v-once
|
||||
class="timestamp-column"
|
||||
>
|
||||
{{ $t('timestamp') }}
|
||||
</th>
|
||||
<th v-once class="amount-column">
|
||||
{{ $t('amount')}}
|
||||
<th
|
||||
v-once
|
||||
class="amount-column"
|
||||
>
|
||||
{{ $t('amount') }}
|
||||
</th>
|
||||
<th v-once class="action-column">
|
||||
{{ $t('action')}}
|
||||
<th
|
||||
v-once
|
||||
class="action-column"
|
||||
>
|
||||
{{ $t('action') }}
|
||||
</th>
|
||||
<th v-once class="note-column">
|
||||
{{ $t('note')}}
|
||||
<th
|
||||
v-once
|
||||
class="note-column"
|
||||
>
|
||||
{{ $t('note') }}
|
||||
</th>
|
||||
</tr>
|
||||
<tr
|
||||
@@ -49,7 +64,10 @@
|
||||
>{{ entry.createdAt | timeAgo }}</span>
|
||||
</td>
|
||||
<td>
|
||||
<div class="amount-with-icon" :id="entry.id">
|
||||
<div
|
||||
:id="entry.id"
|
||||
class="amount-with-icon"
|
||||
>
|
||||
<span
|
||||
class="svg-icon inline icon-16 my-1"
|
||||
aria-hidden="true"
|
||||
@@ -95,39 +113,58 @@
|
||||
</span>
|
||||
<span v-else-if="transactionTypes.challenges.includes(entry.transactionType)">
|
||||
<router-link
|
||||
class="challenge-link"
|
||||
:to="{ name: 'challenge', params: { challengeId: entry.reference } }">
|
||||
class="challenge-link"
|
||||
:to="{ name: 'challenge', params: { challengeId: entry.reference } }"
|
||||
>
|
||||
<span
|
||||
v-markdown="entry.referenceText"
|
||||
></span>
|
||||
</router-link>
|
||||
</span>
|
||||
<span v-else v-html="entryReferenceText(entry)"></span>
|
||||
<span
|
||||
v-else
|
||||
v-html="entryReferenceText(entry)"
|
||||
></span>
|
||||
|
||||
<span v-if="entry.reference">
|
||||
({{entry.reference}})
|
||||
({{ entry.reference }})
|
||||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="col-12" v-if="selectedTab === 'hourglass'">
|
||||
<div
|
||||
v-if="selectedTab === 'hourglass'"
|
||||
class="col-12"
|
||||
>
|
||||
<span v-if="hourglassTransactions.length === 0">
|
||||
{{ $t('noHourglassTransactions') }}
|
||||
</span>
|
||||
<table class="table">
|
||||
<tr>
|
||||
<th v-once class="timestamp-column">
|
||||
{{ $t('timestamp')}}
|
||||
<th
|
||||
v-once
|
||||
class="timestamp-column"
|
||||
>
|
||||
{{ $t('timestamp') }}
|
||||
</th>
|
||||
<th v-once class="amount-column">
|
||||
{{ $t('amount')}}
|
||||
<th
|
||||
v-once
|
||||
class="amount-column"
|
||||
>
|
||||
{{ $t('amount') }}
|
||||
</th>
|
||||
<th v-once class="action-column">
|
||||
{{ $t('action')}}
|
||||
<th
|
||||
v-once
|
||||
class="action-column"
|
||||
>
|
||||
{{ $t('action') }}
|
||||
</th>
|
||||
<th v-once class="note-column">
|
||||
{{ $t('note')}}
|
||||
<th
|
||||
v-once
|
||||
class="note-column"
|
||||
>
|
||||
{{ $t('note') }}
|
||||
</th>
|
||||
</tr>
|
||||
<tr
|
||||
@@ -140,7 +177,10 @@
|
||||
>{{ entry.createdAt | timeAgo }}</span>
|
||||
</td>
|
||||
<td>
|
||||
<div class="amount-with-icon" :id="entry.id">
|
||||
<div
|
||||
:id="entry.id"
|
||||
class="amount-with-icon"
|
||||
>
|
||||
<span
|
||||
class="svg-icon inline icon-16 my-1"
|
||||
aria-hidden="true"
|
||||
|
||||
Reference in New Issue
Block a user