Changed layout

This commit is contained in:
Wolfgang Huß 2019-11-08 16:26:46 +01:00
parent 49bea62fa7
commit c2444a5288
3 changed files with 25 additions and 15 deletions

View File

@ -451,9 +451,10 @@
"reports": {
"empty": "Glückwunsch, es gibt nichts zu moderieren.",
"name": "Meldungen",
"type": "Typ",
"content": "Inhalt",
"author": "Autor",
"typeRowHeadline": "Typ",
"contentRowHeadline": "Inhalt",
"authorRowHeadline": "Autor",
"decisionRowHeadline": "Decision",
"decided": "Entschieden",
"noDecision": "Keine Entscheidung!",
"enabledBy": "Aktiviert von",

View File

@ -452,9 +452,10 @@
"reports": {
"empty": "Congratulations, nothing to moderate.",
"name": "Reports",
"type": "Type",
"content": "Content",
"author": "Author",
"typeRowHeadline": "Type",
"contentRowHeadline": "Content",
"authorRowHeadline": "Author",
"decisionRowHeadline": "Decision",
"decided": "Decided",
"noDecision": "No decision!",
"enabledBy": "Enabled by",

View File

@ -9,19 +9,27 @@
>
<colgroup><col width="" /></colgroup>
<template v-for="content in reportedContentStructure">
<thead :key="'thead-' + content.resource.id">
<thead
:class="[
content.closed ? 'decision' : 'no-decision',
'ds-table-col',
'ds-table-head-col',
'ds-table-head-col-border',
]"
:key="'thead-' + content.resource.id"
>
<tr valign="top">
<th class="ds-table-col ds-table-head-col ds-table-head-col-border">
{{ $t('moderation.reports.type') }}
<th>
{{ $t('moderation.reports.typeRowHeadline') }}
</th>
<th class="ds-table-col ds-table-head-col ds-table-head-col-border">
{{ $t('moderation.reports.content') }}
<th>
{{ $t('moderation.reports.contentRowHeadline') }}
</th>
<th class="ds-table-col ds-table-head-col ds-table-head-col-border">
{{ $t('moderation.reports.author') }}
<th>
{{ $t('moderation.reports.authorRowHeadline') }}
</th>
<th class="ds-table-col ds-table-head-col ds-table-head-col-border">
{{ $t('moderation.reports.decision') }}
<th>
{{ $t('moderation.reports.decisionRowHeadline') }}
</th>
</tr>
</thead>