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