mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
contribution messages locales
This commit is contained in:
parent
2028eb435f
commit
8bfc505c5c
@ -1,16 +1,19 @@
|
||||
<template>
|
||||
<div class="contribution-messages-formular">
|
||||
<div v-if="form.text !== ''" class="mt-5">
|
||||
<h4>Vorschau</h4>
|
||||
<h4>{{ $t('preview') }}</h4>
|
||||
<div class="border border-info m-5">
|
||||
<b-row>
|
||||
<b-col cols="1"><b-avatar square text="AA"></b-avatar></b-col>
|
||||
<b-col cols="11">
|
||||
<pre class="ml-3 mt-3 mb-5">
|
||||
<span class="ml-2 mr-2">
|
||||
{{ $store.state.moderator.firstName }} {{ $store.state.moderator.lastName }}
|
||||
</span>
|
||||
{{ form.text }}</pre>
|
||||
<pre class="mt-2">
|
||||
{{ $store.state.moderator.firstName }} {{ $store.state.moderator.lastName }}
|
||||
</pre>
|
||||
</b-col>
|
||||
</b-row>
|
||||
<b-row>
|
||||
<b-col>
|
||||
<pre class="ml-3 mt-3 mb-5">{{ form.text }}</pre>
|
||||
</b-col>
|
||||
</b-row>
|
||||
</div>
|
||||
@ -24,8 +27,8 @@
|
||||
rows="3"
|
||||
max-rows="6"
|
||||
></b-form-textarea>
|
||||
<b-button type="submit" variant="primary">Submit</b-button>
|
||||
<b-button type="reset" variant="danger">Reset</b-button>
|
||||
<b-button type="submit" variant="primary">{{ $t('form.submit') }}</b-button>
|
||||
<b-button type="reset" variant="danger">{{ $t('form.reset') }}</b-button>
|
||||
</b-form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -1,6 +1,5 @@
|
||||
<template>
|
||||
<div class="contribution-messages-list">
|
||||
ContributionMessagesList
|
||||
<b-container>
|
||||
<div v-for="message in messages" v-bind:key="message.id">
|
||||
<contribution-messages-list-item :typeId="message.isModerator">
|
||||
|
||||
@ -29,5 +29,6 @@ export default {
|
||||
background-color: aquamarine;
|
||||
width: 75%;
|
||||
margin-top: 20px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
</style>
|
||||
|
||||
@ -23,6 +23,7 @@
|
||||
</b-button>
|
||||
<b-button v-else @click="rowToggleDetails(row, 0)">
|
||||
<b-icon icon="chat-dots"></b-icon>
|
||||
<b-icon icon="exclamation-circle-fill"></b-icon>
|
||||
</b-button>
|
||||
</template>
|
||||
<template #cell(confirm)="row">
|
||||
@ -36,7 +37,7 @@
|
||||
type="show-creation"
|
||||
slotName="show-creation"
|
||||
:index="0"
|
||||
@row-toggle-details="rowToggleDetails"
|
||||
@row-toggle-details="rowToggleDetails(row, 0)"
|
||||
>
|
||||
<template #show-creation>
|
||||
<div v-if="row.item.moderator">
|
||||
|
||||
@ -69,6 +69,10 @@
|
||||
},
|
||||
"short_hash": "({shortHash})"
|
||||
},
|
||||
"form": {
|
||||
"submit":"absenden",
|
||||
"reset": "löschen"
|
||||
},
|
||||
"GDD": "GDD",
|
||||
"hide_details": "Details verbergen",
|
||||
"lastname": "Nachname",
|
||||
@ -155,5 +159,6 @@
|
||||
},
|
||||
"user_deleted": "Nutzer ist gelöscht.",
|
||||
"user_recovered": "Nutzer ist wiederhergestellt.",
|
||||
"user_search": "Nutzer-Suche"
|
||||
"user_search": "Nutzer-Suche",
|
||||
"preview":"Vorschau"
|
||||
}
|
||||
|
||||
@ -69,6 +69,10 @@
|
||||
},
|
||||
"short_hash": "({shortHash})"
|
||||
},
|
||||
"form": {
|
||||
"submit":"submit",
|
||||
"reset": "reset"
|
||||
},
|
||||
"GDD": "GDD",
|
||||
"hide_details": "Hide details",
|
||||
"lastname": "Lastname",
|
||||
@ -155,5 +159,6 @@
|
||||
},
|
||||
"user_deleted": "User is deleted.",
|
||||
"user_recovered": "User is recovered.",
|
||||
"user_search": "User search"
|
||||
"user_search": "User search",
|
||||
"preview":"Preview"
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user