mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
Implement always show resource status
- Rename buttons after Roberts suggestion.
This commit is contained in:
parent
4e49dfe9e1
commit
c3f6ad0e44
@ -455,18 +455,20 @@
|
|||||||
"contentRowHeadline": "Inhalt",
|
"contentRowHeadline": "Inhalt",
|
||||||
"authorRowHeadline": "Autor",
|
"authorRowHeadline": "Autor",
|
||||||
"decisionRowHeadline": "Entscheidung",
|
"decisionRowHeadline": "Entscheidung",
|
||||||
|
"enabled": "Status: Entsperrt",
|
||||||
|
"disabled": "Status: Gesperrt",
|
||||||
"decided": "Entschieden",
|
"decided": "Entschieden",
|
||||||
"noDecision": "Keine Entscheidung!",
|
"noDecision": "Keine Entscheidung!",
|
||||||
"decideButton": "Entscheide",
|
"decideButton": "Bestätige",
|
||||||
"DecisionSuccess": "Erfolgreich entschieden!",
|
"DecisionSuccess": "Erfolgreich entschieden!",
|
||||||
"enabledBy": "Aktiviert von",
|
"enabledBy": "Status: Entsperrt von",
|
||||||
"disabledBy": "Deaktiviert von",
|
"disabledBy": "Status: Gesperrt von",
|
||||||
"reasonCategory": "Kategorie",
|
"reasonCategory": "Kategorie",
|
||||||
"reasonDescription": "Beschreibung",
|
"reasonDescription": "Beschreibung",
|
||||||
"createdAt": "Datum",
|
"createdAt": "Datum",
|
||||||
"submitter": "Gemeldet von",
|
"submitter": "Gemeldet von",
|
||||||
"decideModal": {
|
"decideModal": {
|
||||||
"submit": "Abschließende Entscheidung",
|
"submit": "Bestätige Entscheidung",
|
||||||
"cancel": "Abbruch",
|
"cancel": "Abbruch",
|
||||||
"User": {
|
"User": {
|
||||||
"disable": {
|
"disable": {
|
||||||
|
|||||||
@ -456,18 +456,20 @@
|
|||||||
"contentRowHeadline": "Content",
|
"contentRowHeadline": "Content",
|
||||||
"authorRowHeadline": "Author",
|
"authorRowHeadline": "Author",
|
||||||
"decisionRowHeadline": "Decision",
|
"decisionRowHeadline": "Decision",
|
||||||
|
"enabled": "State: Enabled",
|
||||||
|
"disabled": "State: Disabled",
|
||||||
"decided": "Decided",
|
"decided": "Decided",
|
||||||
"noDecision": "No decision!",
|
"noDecision": "No decision!",
|
||||||
"decideButton": "Decide",
|
"decideButton": "Confirm",
|
||||||
"DecisionSuccess": "Decided successfully!",
|
"DecisionSuccess": "Decided successfully!",
|
||||||
"enabledBy": "Enabled by",
|
"enabledBy": "State: Enabled by",
|
||||||
"disabledBy": "Disabled by",
|
"disabledBy": "State: Disabled by",
|
||||||
"reasonCategory": "Category",
|
"reasonCategory": "Category",
|
||||||
"reasonDescription": "Description",
|
"reasonDescription": "Description",
|
||||||
"createdAt": "Date",
|
"createdAt": "Date",
|
||||||
"submitter": "Reported by",
|
"submitter": "Reported by",
|
||||||
"decideModal": {
|
"decideModal": {
|
||||||
"submit": "Final decision",
|
"submit": "Confirm decision",
|
||||||
"cancel": "Cancel",
|
"cancel": "Cancel",
|
||||||
"User": {
|
"User": {
|
||||||
"disable": {
|
"disable": {
|
||||||
|
|||||||
@ -37,7 +37,7 @@
|
|||||||
<tr valign="top">
|
<tr valign="top">
|
||||||
<td class="ds-table-col ds-table-head-col ds-table-head-col-border">
|
<td class="ds-table-col ds-table-head-col ds-table-head-col-border">
|
||||||
<!-- Icon -->
|
<!-- Icon -->
|
||||||
<ds-text :class="[!content.closed && 'no-decision']" color="soft">
|
<ds-text color="soft">
|
||||||
<ds-icon
|
<ds-icon
|
||||||
v-if="content.type === 'Post'"
|
v-if="content.type === 'Post'"
|
||||||
v-tooltip="{ content: $t('report.contribution.type'), placement: 'right' }"
|
v-tooltip="{ content: $t('report.contribution.type'), placement: 'right' }"
|
||||||
@ -105,9 +105,11 @@
|
|||||||
<div v-if="content.resource.decidedByModerator">
|
<div v-if="content.resource.decidedByModerator">
|
||||||
<br />
|
<br />
|
||||||
<div v-if="content.decisionDisable">
|
<div v-if="content.decisionDisable">
|
||||||
|
<ds-icon name="eye-slash" class="ban" />
|
||||||
{{ $t('moderation.reports.disabledBy') }}
|
{{ $t('moderation.reports.disabledBy') }}
|
||||||
</div>
|
</div>
|
||||||
<div v-else>
|
<div v-else>
|
||||||
|
<ds-icon name="eye" class="no-ban" />
|
||||||
{{ $t('moderation.reports.enabledBy') }}
|
{{ $t('moderation.reports.enabledBy') }}
|
||||||
</div>
|
</div>
|
||||||
<hc-user
|
<hc-user
|
||||||
@ -118,6 +120,17 @@
|
|||||||
positionDatetime="below"
|
positionDatetime="below"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
<div v-else>
|
||||||
|
<br />
|
||||||
|
<div v-if="content.resource.disabled">
|
||||||
|
<ds-icon name="eye-slash" class="ban" />
|
||||||
|
{{ $t('moderation.reports.disabled') }}
|
||||||
|
</div>
|
||||||
|
<div v-else>
|
||||||
|
<ds-icon name="eye" class="no-ban" />
|
||||||
|
{{ $t('moderation.reports.enabled') }}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
@ -322,4 +335,10 @@ export default {
|
|||||||
.no-decision {
|
.no-decision {
|
||||||
color: $color-warning;
|
color: $color-warning;
|
||||||
}
|
}
|
||||||
|
.ban {
|
||||||
|
color: $color-danger;
|
||||||
|
}
|
||||||
|
.no-ban {
|
||||||
|
color: $color-success;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user