mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
fix lint, fix locales
This commit is contained in:
parent
fad1ab212e
commit
2c5576f8a1
@ -52,11 +52,11 @@
|
|||||||
{{ contentLength }}
|
{{ contentLength }}
|
||||||
<base-icon v-if="errors && errors.content" name="warning" />
|
<base-icon v-if="errors && errors.content" name="warning" />
|
||||||
</ds-chip>
|
</ds-chip>
|
||||||
|
|
||||||
<!-- Eventdata -->
|
<!-- Eventdata -->
|
||||||
<div v-if="creatEvent" class="eventDatas">
|
<div v-if="creatEvent" class="eventDatas">
|
||||||
<hr>
|
<hr />
|
||||||
<ds-space margin-top="x-small" />
|
<ds-space margin-top="x-small" />
|
||||||
<ds-grid>
|
<ds-grid>
|
||||||
<ds-grid-item style="grid-row-end: span 3">
|
<ds-grid-item style="grid-row-end: span 3">
|
||||||
<!-- <label>Beginn</label> -->
|
<!-- <label>Beginn</label> -->
|
||||||
@ -107,7 +107,11 @@
|
|||||||
</div>
|
</div>
|
||||||
</ds-grid-item>
|
</ds-grid-item>
|
||||||
<ds-grid-item style="grid-row-end: span 3">
|
<ds-grid-item style="grid-row-end: span 3">
|
||||||
<ds-input model="eventLocationName" name="venue" :placeholder="$t('post.viewEvent.eventLocationName')" />
|
<ds-input
|
||||||
|
model="eventLocationName"
|
||||||
|
name="venue"
|
||||||
|
:placeholder="$t('post.viewEvent.eventLocationName')"
|
||||||
|
/>
|
||||||
<div class="chipbox">
|
<div class="chipbox">
|
||||||
<ds-chip size="base" :color="errors && errors.eventLocationName && 'danger'">
|
<ds-chip size="base" :color="errors && errors.eventLocationName && 'danger'">
|
||||||
{{ formData.eventLocationName.length }}/{{ formSchema.eventLocationName.max }}
|
{{ formData.eventLocationName.length }}/{{ formSchema.eventLocationName.max }}
|
||||||
@ -126,8 +130,6 @@
|
|||||||
/>
|
/>
|
||||||
{{ $t('post.viewEvent.eventIsOnline') }}
|
{{ $t('post.viewEvent.eventIsOnline') }}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<ds-space margin-top="x-small" />
|
<ds-space margin-top="x-small" />
|
||||||
<categories-select
|
<categories-select
|
||||||
|
|||||||
@ -155,7 +155,7 @@ export default {
|
|||||||
},
|
},
|
||||||
ribbonText() {
|
ribbonText() {
|
||||||
if (this.post.pinned) return this.$t('post.pinned')
|
if (this.post.pinned) return this.$t('post.pinned')
|
||||||
if (this.post.postType[0] === "Event") return this.$t('post.event')
|
if (this.post.postType[0] === 'Event') return this.$t('post.event')
|
||||||
return this.$t('post.name')
|
return this.$t('post.name')
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<aside class="ribbon" :class="typ === 'Event' ? 'eventBg': ''">
|
<aside class="ribbon" :class="typ === 'Event' ? 'eventBg' : ''">
|
||||||
<p>{{ text }}</p>
|
<p>{{ text }}</p>
|
||||||
</aside>
|
</aside>
|
||||||
</template>
|
</template>
|
||||||
@ -14,8 +14,8 @@ export default {
|
|||||||
},
|
},
|
||||||
typ: {
|
typ: {
|
||||||
type: String,
|
type: String,
|
||||||
default: 'blue'
|
default: 'blue',
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
@ -51,7 +51,7 @@ export default {
|
|||||||
background-color: $color-success-active;
|
background-color: $color-success-active;
|
||||||
|
|
||||||
&::before {
|
&::before {
|
||||||
border-color: $color-success-active transparent transparent $color-success-active;
|
border-color: $color-success-active transparent transparent $color-success-active;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@ -718,22 +718,19 @@
|
|||||||
"takeAction": {
|
"takeAction": {
|
||||||
"name": "Aktiv werden"
|
"name": "Aktiv werden"
|
||||||
},
|
},
|
||||||
|
"viewEvent": {
|
||||||
|
"eventEnd": "Ende",
|
||||||
|
"eventIsOnline": "Online Veranstaltung",
|
||||||
|
"eventLocationName": "Stadt",
|
||||||
|
"eventStart": "Beginn",
|
||||||
|
"eventVenue": "Veranstaltungsort",
|
||||||
|
"title": "Veranstaltung"
|
||||||
|
},
|
||||||
"viewPost": {
|
"viewPost": {
|
||||||
"forGroup": {
|
"forGroup": {
|
||||||
"title": "In der Gruppe „{name}“"
|
"title": "In der Gruppe „{name}“"
|
||||||
},
|
},
|
||||||
"title": "Beitrag"
|
"title": "Beitrag"
|
||||||
},
|
|
||||||
"viewEvent": {
|
|
||||||
"forGroup": {
|
|
||||||
"title": "In der Gruppe „{name}“"
|
|
||||||
},
|
|
||||||
"title": "Veranstaltung",
|
|
||||||
"eventStart":"Beginn",
|
|
||||||
"eventEnd":"Ende",
|
|
||||||
"eventVenue":"Veranstaltungsort",
|
|
||||||
"eventLocationName":"Stadt",
|
|
||||||
"eventIsOnline":"Online Veranstaltung"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"profile": {
|
"profile": {
|
||||||
|
|||||||
@ -718,19 +718,19 @@
|
|||||||
"takeAction": {
|
"takeAction": {
|
||||||
"name": "Take action"
|
"name": "Take action"
|
||||||
},
|
},
|
||||||
|
"viewEvent": {
|
||||||
|
"eventEnd": "End",
|
||||||
|
"eventIsOnline": "Online Event",
|
||||||
|
"eventLocationName": "City",
|
||||||
|
"eventStart": "Start",
|
||||||
|
"eventVenue": "Venue",
|
||||||
|
"title": "Event"
|
||||||
|
},
|
||||||
"viewPost": {
|
"viewPost": {
|
||||||
"forGroup": {
|
"forGroup": {
|
||||||
"title": "In The Group “{name}”"
|
"title": "In The Group “{name}”"
|
||||||
},
|
},
|
||||||
"title": "Post"
|
"title": "Post"
|
||||||
},
|
|
||||||
"viewEvent": {
|
|
||||||
"title": "Event",
|
|
||||||
"eventStart":"Start",
|
|
||||||
"eventEnd":"End",
|
|
||||||
"eventVenue":"Venue",
|
|
||||||
"eventLocationName":"City",
|
|
||||||
"eventIsOnline":"Online Event"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"profile": {
|
"profile": {
|
||||||
|
|||||||
@ -82,7 +82,6 @@
|
|||||||
<ds-flex-item width="200px">Online Event:</ds-flex-item>
|
<ds-flex-item width="200px">Online Event:</ds-flex-item>
|
||||||
<ds-flex-item>{{ post.eventIsOnline }}</ds-flex-item>
|
<ds-flex-item>{{ post.eventIsOnline }}</ds-flex-item>
|
||||||
</ds-flex>
|
</ds-flex>
|
||||||
|
|
||||||
</ds-space>
|
</ds-space>
|
||||||
<!-- Categories -->
|
<!-- Categories -->
|
||||||
<div v-if="categoriesActive" class="categories">
|
<div v-if="categoriesActive" class="categories">
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user