develop update #3

Merged
desea merged 39 commits from AkkomaGang/akkoma-fe:develop into develop 2022-11-12 22:02:17 +00:00
2 changed files with 11 additions and 5 deletions
Showing only changes of commit e44462b1d5 - Show all commits

View file

@ -7,11 +7,16 @@
{{ $t('moderation.reports.show_closed') }} {{ $t('moderation.reports.show_closed') }}
</Checkbox> </Checkbox>
</div> </div>
<ReportCard <div class="reports">
v-for="report in (showClosed ? reports : openReports)" <div v-if="(openReports.length === 0 && !showClosed) || reports.length === 0">
:key="report.id" <p>{{ $t('moderation.reports.no_reports') }}</p>
v-bind="report" </div>
/> <ReportCard
v-for="report in (showClosed ? reports : openReports)"
:key="report.id"
v-bind="report"
/>
</div>
</div> </div>
</div> </div>
</template> </template>

View file

@ -273,6 +273,7 @@
"moderation": { "moderation": {
"moderation": "Moderation", "moderation": "Moderation",
"reports": { "reports": {
"no_reports": "No reports to show",
"add_note": "Add note", "add_note": "Add note",
"close": "Close", "close": "Close",
"delete_note": "Delete", "delete_note": "Delete",