add info text, locales in community page, if no contributions

This commit is contained in:
ogerly 2023-01-24 16:58:56 +01:00
parent 5bd37a5a2a
commit ff614ad27b
2 changed files with 10 additions and 2 deletions

View File

@ -63,6 +63,10 @@
"lastMonth": "Für den ausgewählten Monat ist das Schöpfungslimit erreicht.",
"thisMonth": "Für den aktuellen Monat ist das Schöpfungslimit erreicht."
},
"noContributions": {
"myContributions":"Du hast noch keine Beiträge eingereicht.",
"allContributions":"Es wurden noch keine Beiträge eingereicht."
},
"selectDate": "Wann war dein Beitrag?",
"submit": "Einreichen",
"submitted": "Der Beitrag wurde eingereicht.",

View File

@ -20,7 +20,9 @@
/>
</b-tab>
<b-tab no-body>
<div v-if="items.length === 0">Du hast noch keine Beiträge eingereicht.</div>
<div v-if="items.length === 0">
{{ $t('contribution.noContributions.myContributions') }}
</div>
<div v-else>
<contribution-list
@closeAllOpenCollapse="closeAllOpenCollapse"
@ -36,7 +38,9 @@
</div>
</b-tab>
<b-tab no-body>
<div v-if="items.length === 0">Du hast noch keine Beiträge eingereicht.</div>
<div v-if="itemsAll.length === 0">
{{ $t('contribution.noContributions.allContributions') }}
</div>
<div v-else>
<contribution-list
:items="itemsAll"