mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
vue warnings removed
This commit is contained in:
parent
bd51b01d19
commit
1430e45fe8
@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div class="content-footer">
|
||||
<hr />
|
||||
<div align-v="center" class="mt-4 mb-4 justify-content-lg-between">
|
||||
<b-row align-v="center" class="mt-4 mb-4 justify-content-lg-between">
|
||||
<b-col>
|
||||
<div class="copyright text-center text-lg-center text-muted">
|
||||
{{ $t('footer.copyright.year', { year }) }}
|
||||
@ -25,7 +25,7 @@
|
||||
</a>
|
||||
</div>
|
||||
</b-col>
|
||||
</div>
|
||||
</b-row>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<div class="contribution-list">
|
||||
<div class="mb-3" v-for="item in items" :key="item.id">
|
||||
<div class="mb-3" v-for="item in items" :key="item.id + 'a'">
|
||||
<contribution-list-item
|
||||
v-if="item.state === 'IN_PROGRESS'"
|
||||
v-bind="item"
|
||||
@ -12,12 +12,12 @@
|
||||
@update-state="updateState"
|
||||
/>
|
||||
</div>
|
||||
<div class="mb-3" v-for="item in items" :key="item.id">
|
||||
<div class="mb-3" v-for="item2 in items" :key="item2.id">
|
||||
<contribution-list-item
|
||||
v-if="item.state !== 'IN_PROGRESS'"
|
||||
v-bind="item"
|
||||
v-if="item2.state !== 'IN_PROGRESS'"
|
||||
v-bind="item2"
|
||||
@closeAllOpenCollapse="$emit('closeAllOpenCollapse')"
|
||||
:contributionId="item.id"
|
||||
:contributionId="item2.id"
|
||||
:allContribution="allContribution"
|
||||
@update-contribution-form="updateContributionForm"
|
||||
@delete-contribution="deleteContribution"
|
||||
|
||||
@ -9,21 +9,20 @@
|
||||
<b-card-title class="h2">{{ item.text }}</b-card-title>
|
||||
</b-card-body>
|
||||
<b-card-footer class="bg-transparent">
|
||||
<b-card-text>
|
||||
<b-row>
|
||||
<b-col cols="12" md="6" lg="6">
|
||||
<div class="h3">{{ item.date }}</div>
|
||||
</b-col>
|
||||
<b-col cols="12" md="6" lg="6">
|
||||
<div class="text-right">
|
||||
<b-button variant="gradido" :href="item.url" target="_blank">
|
||||
{{ $t('auth.left.learnMore') }}
|
||||
</b-button>
|
||||
</div>
|
||||
</b-col>
|
||||
</b-row>
|
||||
</b-card-text>
|
||||
<b-card-tex>{{ item.extra }}</b-card-tex>
|
||||
<b-row class="my-5">
|
||||
<b-col cols="12" md="6" lg="6">
|
||||
<div class="h3">{{ item.date }}</div>
|
||||
</b-col>
|
||||
<b-col cols="12" md="6" lg="6">
|
||||
<div class="text-right">
|
||||
<b-button variant="gradido" :href="item.url" target="_blank">
|
||||
{{ $t('auth.left.learnMore') }}
|
||||
</b-button>
|
||||
</div>
|
||||
</b-col>
|
||||
</b-row>
|
||||
|
||||
{{ item.extra }}
|
||||
</b-card-footer>
|
||||
</b-card>
|
||||
</div>
|
||||
|
||||
@ -27,7 +27,7 @@
|
||||
></avatar>
|
||||
</div>
|
||||
</b-col>
|
||||
<b-col align-self="stretch p-1">
|
||||
<b-col class="p-1">
|
||||
<b-row>
|
||||
<b-col>
|
||||
<div class="font-weight-bold">
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
<div class="transaction-slot-creation">
|
||||
<b-row @click="visible = !visible" class="align-items-center">
|
||||
<b-col cols="3" lg="2" md="2">
|
||||
<b-avatar icon="gift" variant="success" size="42"></b-avatar>
|
||||
<b-avatar icon="gift" variant="success" :size="42"></b-avatar>
|
||||
</b-col>
|
||||
<b-col>
|
||||
<div class="font-weight-bold">{{ linkedUser.firstName }} {{ linkedUser.lastName }}</div>
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
<div class="transaction-slot-link">
|
||||
<b-row @click="showTransactionLinks()" class="align-items-center">
|
||||
<b-col cols="3" lg="2" md="2">
|
||||
<b-avatar icon="link" variant="light" size="42"></b-avatar>
|
||||
<b-avatar icon="link" variant="light" :size="42"></b-avatar>
|
||||
</b-col>
|
||||
<b-col>
|
||||
<div>{{ $t('gdd_per_link.links_sum') }}</div>
|
||||
|
||||
@ -7,7 +7,7 @@
|
||||
:username="username.username"
|
||||
:initials="username.initials"
|
||||
:color="'#fff'"
|
||||
size="42"
|
||||
:size="42"
|
||||
></avatar>
|
||||
</b-col>
|
||||
<b-col>
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
:username="username.username"
|
||||
:initials="username.initials"
|
||||
:color="'#fff'"
|
||||
size="42"
|
||||
:size="42"
|
||||
></avatar>
|
||||
</b-col>
|
||||
<b-col>
|
||||
|
||||
@ -78,7 +78,7 @@
|
||||
</b-row>
|
||||
</b-col>
|
||||
<!-- RightSide Desktop -->
|
||||
<b-col cols="3" class="d-none d-lg-block" align-self="stretch">
|
||||
<b-col cols="3" class="d-none d-lg-block">
|
||||
<right-side
|
||||
:transactions="transactions"
|
||||
:transactionCount="transactionCount"
|
||||
|
||||
@ -247,8 +247,9 @@ export default {
|
||||
this.items = listContributions.contributionList
|
||||
if (this.items.find((item) => item.state === 'IN_PROGRESS')) {
|
||||
this.tabIndex = 1
|
||||
// this.$route.hash = 'my'
|
||||
this.$router.push({ path: '#my' })
|
||||
if (this.$route.hash !== '#my') {
|
||||
this.$router.push({ path: '#my' })
|
||||
}
|
||||
this.toastInfo('Du hast eine Rückfrage auf eine Contribution. Bitte beantworte diese!')
|
||||
}
|
||||
})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user