mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
Started to implement report infos
This commit is contained in:
parent
db9810b436
commit
7f7bde9ab9
@ -8,6 +8,18 @@
|
|||||||
|
|
||||||
<!-- eslint-disable-next-line vue/no-v-html -->
|
<!-- eslint-disable-next-line vue/no-v-html -->
|
||||||
<p v-html="message" />
|
<p v-html="message" />
|
||||||
|
<ds-select
|
||||||
|
model="XXX"
|
||||||
|
:options="form.reasonCategoryOptions"
|
||||||
|
icon="comment"
|
||||||
|
:label="$t('report.reason.addText.label')"
|
||||||
|
:placeholder="$t('report.reason.addText.placeholder')"
|
||||||
|
/>
|
||||||
|
<ds-input
|
||||||
|
id="text"
|
||||||
|
:label="$t('report.reason.addText.label')"
|
||||||
|
:placeholder="$t('report.reason.addText.placeholder')"
|
||||||
|
/>
|
||||||
|
|
||||||
<template slot="footer">
|
<template slot="footer">
|
||||||
<ds-button class="cancel" icon="close" @click="cancel">{{ $t('report.cancel') }}</ds-button>
|
<ds-button class="cancel" icon="close" @click="cancel">{{ $t('report.cancel') }}</ds-button>
|
||||||
@ -44,6 +56,23 @@ export default {
|
|||||||
isOpen: true,
|
isOpen: true,
|
||||||
success: false,
|
success: false,
|
||||||
loading: false,
|
loading: false,
|
||||||
|
form: {
|
||||||
|
reasonCategory: null,
|
||||||
|
reasonCategoryOptions: [
|
||||||
|
this.$t('report.reason.category.options.discrimination-etc'),
|
||||||
|
this.$t('report.reason.category.options.pornographic-content-links'),
|
||||||
|
this.$t('report.reason.category.options.glorific-trivia-of-cruel-inhuman-acts'),
|
||||||
|
this.$t('report.reason.category.options.unauthorized-disclosure-personalinformation'),
|
||||||
|
this.$t('report.reason.category.options.intentional-intimidation-stalking-persecution'),
|
||||||
|
this.$t('report.reason.category.options.advert-products-services-commercial'),
|
||||||
|
this.$t('report.reason.category.options.criminal-behavior-violation-german-law'),
|
||||||
|
this.$t('report.reason.category.options.other'),
|
||||||
|
],
|
||||||
|
reasonAddText: '',
|
||||||
|
},
|
||||||
|
formSchema: {
|
||||||
|
reasonAddText: { required: true, min: 0, max: 150 },
|
||||||
|
},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
|||||||
@ -433,6 +433,26 @@
|
|||||||
"type": "Comment",
|
"type": "Comment",
|
||||||
"message": "Do you really want to report the comment from \"<b>{name}</b>\"?",
|
"message": "Do you really want to report the comment from \"<b>{name}</b>\"?",
|
||||||
"error": "You have already reported the comment!"
|
"error": "You have already reported the comment!"
|
||||||
|
},
|
||||||
|
"reason": {
|
||||||
|
"category": {
|
||||||
|
"label": "Why you like to report this?",
|
||||||
|
"placeholder": "Additional information …",
|
||||||
|
"options": {
|
||||||
|
"discrimination-etc": "Discriminatory posts, comments, utterances or insults",
|
||||||
|
"pornographic-content-links": "Posting or linking of clearly pornographic material",
|
||||||
|
"glorific-trivia-of-cruel-inhuman-acts": "Glorification or trivialization of cruel or inhuman acts of violence",
|
||||||
|
"unauthorized-disclosure-personalinformation": "The disclosure of others' personal information without their consent or threat there of (\"doxing\")",
|
||||||
|
"intentional-intimidation-stalking-persecution": "Intentional intimidation, stalking or persecution",
|
||||||
|
"advert-products-services-commercial": "Advertising products and services with commercial intent",
|
||||||
|
"criminal-behavior-violation-german-law": "Criminal behavior or violation of German law",
|
||||||
|
"other": "Other"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"addText": {
|
||||||
|
"label": "Why you like to report this?",
|
||||||
|
"placeholder": "Additional information …"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"followButton": {
|
"followButton": {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user