This commit is contained in:
tulex 2021-07-15 17:10:35 +02:00
parent 4c9713f8fe
commit 00c391e667
6 changed files with 38 additions and 32 deletions

View File

@ -1,7 +1,7 @@
<template> <template>
<div> <div>
<span v-if="decaytyp === 'short'"> <span v-if="decaytyp === 'short'">
<small>{{ decay ? ' ' + decay.balance + ' ' + decayStartBlockTextShort : '' }}</small> <small>{{ decay ? ' -' + decay.balance + ' ' + decayStartBlockTextShort : '' }}</small>
</span> </span>
<div v-if="decaytyp === 'new'"> <div v-if="decaytyp === 'new'">
@ -28,7 +28,7 @@
</div> </div>
</div> </div>
<div> <div>
<span>{{ $d($moment.unix(decay.decay_start), 'long') }} Uhr</span> <span>{{ $d($moment.unix(decay.decay_start), 'long') }} {{ $i18n.locale === 'de' ? 'Uhr' : '' }}</span>
</div> </div>
</div> </div>
</div> </div>

View File

@ -8,7 +8,7 @@
"reset": "Passwort zurücksetzen", "reset": "Passwort zurücksetzen",
"imprint":"Impressum", "imprint":"Impressum",
"privacy_policy":"Datenschutzerklärung", "privacy_policy":"Datenschutzerklärung",
"members_area": "Mitgliedsbereich", "members_area": "Mitgliederbereich",
"whitepaper": "Whitepaper", "whitepaper": "Whitepaper",
"back":"Zurück", "back":"Zurück",
"send":"Senden", "send":"Senden",
@ -59,14 +59,15 @@
"change": "ändern", "change": "ändern",
"change-password": "Passwort ändern", "change-password": "Passwort ändern",
"amount":"Betrag", "amount":"Betrag",
"memo":"Nachricht für den Empfänger", "memo":"Nachricht",
"message":"Nachricht", "message":"Nachricht",
"date":"Datum", "date":"Datum",
"from":"von", "from":"von",
"to":"bis", "to":"bis",
"to1":"an",
"at":"am", "at":"am",
"time":"Zeit", "time":"Zeit",
"send_now":"Jetzt versenden", "send_now":"Jetzt senden",
"scann_code":"<strong>QR Code Scanner</strong> - Scanne den QR Code deines Partners", "scann_code":"<strong>QR Code Scanner</strong> - Scanne den QR Code deines Partners",
"max_gdd_info":"Maximale anzahl GDD zum versenden erreicht!", "max_gdd_info":"Maximale anzahl GDD zum versenden erreicht!",
"send_check":"Bestätige deine Zahlung. Prüfe bitte nochmal alle Daten!", "send_check":"Bestätige deine Zahlung. Prüfe bitte nochmal alle Daten!",
@ -113,7 +114,7 @@
"password": { "password": {
"title": "Passwort zurücksetzen", "title": "Passwort zurücksetzen",
"subtitle": "Wenn du dein Passwort vergessen hast, kannst du es hier zurücksetzen.", "subtitle": "Wenn du dein Passwort vergessen hast, kannst du es hier zurücksetzen.",
"reset_now": "Jetzt zurücksetzen" "send_now": "Jetzt senden"
}, },
"thx": { "thx": {
"title": "Danke!", "title": "Danke!",

View File

@ -59,11 +59,12 @@
"change": "change", "change": "change",
"change-password": "Change password", "change-password": "Change password",
"amount":"Amount", "amount":"Amount",
"memo":"Message for the recipient", "memo":"Message",
"message":"Message", "message":"Message",
"date":"Date", "date":"Date",
"from":"from", "from":"from",
"to":"to", "to":"to",
"to1":"to",
"at":"at", "at":"at",
"time":"Time", "time":"Time",
"send_now":"Send now", "send_now":"Send now",
@ -113,7 +114,7 @@
"password": { "password": {
"title": "Reset password", "title": "Reset password",
"subtitle": "If you have forgotten your password, you can reset it here.", "subtitle": "If you have forgotten your password, you can reset it here.",
"reset_now": "Reset now" "send_now": "Send now"
}, },
"thx": { "thx": {
"title": "Thank you!", "title": "Thank you!",

View File

@ -21,11 +21,7 @@
}" }"
v-slot="{ errors }" v-slot="{ errors }"
> >
<b-row>
<b-col v-if="errors" class="text-right p-3 p-sm-1">
<span v-for="error in errors" :key="error" class="errors">{{ error }}</span>
</b-col>
</b-row>
<label class="input-1" for="input-1">{{ $t('form.receiver') }}</label> <label class="input-1" for="input-1">{{ $t('form.receiver') }}</label>
<b-input-group <b-input-group
id="input-group-1" id="input-group-1"
@ -48,6 +44,9 @@
class="pl-3" class="pl-3"
></b-form-input> ></b-form-input>
</b-input-group> </b-input-group>
<b-col v-if="errors" class="text-right p-3 p-sm-1">
<span v-for="error in errors" :key="error" class="errors">{{ error }}</span>
</b-col>
</validation-provider> </validation-provider>
</div> </div>
@ -61,12 +60,7 @@
gddSendAmount: [0.01, balance], gddSendAmount: [0.01, balance],
}" }"
v-slot="{ errors, valid }" v-slot="{ errors, valid }"
> >
<b-row>
<b-col v-if="errors" class="col-12 text-right p-3 p-sm-1">
<span v-for="error in errors" class="errors" :key="error">{{ error }}</span>
</b-col>
</b-row>
<label class="input-2" for="input-2">{{ $t('form.amount') }}</label> <label class="input-2" for="input-2">{{ $t('form.amount') }}</label>
<b-input-group id="input-group-2" class="border border-default" size="lg"> <b-input-group id="input-group-2" class="border border-default" size="lg">
<b-input-group-prepend class="p-2 d-none d-md-block"> <b-input-group-prepend class="p-2 d-none d-md-block">
@ -85,6 +79,9 @@
class="pl-3" class="pl-3"
></b-form-input> ></b-form-input>
</b-input-group> </b-input-group>
<b-col v-if="errors" class="col-12 text-right p-3 p-sm-1">
<span v-for="error in errors" class="errors" :key="error">{{ error }}</span>
</b-col>
</validation-provider> </validation-provider>
</div> </div>
@ -95,15 +92,10 @@
min: 5, min: 5,
max: 150, max: 150,
}" }"
:name="$t('form.memo')" :name="$t('form.message')"
v-slot="{ errors }" v-slot="{ errors }"
> >
<b-row> <label class="input-3" for="input-3">{{ $t('form.message') }}</label>
<b-col v-if="errors" class="text-right p-3 p-sm-1">
<span v-for="error in errors" class="errors" :key="error">{{ error }}</span>
</b-col>
</b-row>
<label class="input-3" for="input-3">{{ $t('form.memo') }}</label>
<b-input-group id="input-group-3" class="border border-default"> <b-input-group id="input-group-3" class="border border-default">
<b-input-group-prepend class="d-none d-md-block"> <b-input-group-prepend class="d-none d-md-block">
<b-icon icon="chat-right-text" class="display-4 m-3 mt-4"></b-icon> <b-icon icon="chat-right-text" class="display-4 m-3 mt-4"></b-icon>
@ -115,6 +107,9 @@
class="pl-3" class="pl-3"
></b-form-textarea> ></b-form-textarea>
</b-input-group> </b-input-group>
<b-col v-if="errors" class="text-right p-3 p-sm-1">
<span v-for="error in errors" class="errors" :key="error">{{ error }}</span>
</b-col>
</validation-provider> </validation-provider>
</div> </div>

View File

@ -15,10 +15,14 @@
<!-- Text Links --> <!-- Text Links -->
<div class="font1_2em pr-2 text-right" style="width: 32%"> <div class="font1_2em pr-2 text-right" style="width: 32%">
<span>{{ getProperties(type).operator }}</span> <span>{{ getProperties(type).operator }}</span>
<small v-if="type === 'decay'">{{ $n(balance, 'decimal') }}</small> <small v-if="type === 'decay'">{{ $n(balance, 'decimal') }}</small>
<span v-else>{{ $n(balance, 'decimal') }}</span> <span v-else>{{ $n(balance, 'decimal') }}</span>
<div><small >
{{ $t('form.message') }}
</small>
</div>
<div v-if="decay"> <div v-if="decay">
<br /> <br />
<b-icon v-if="type != 'decay'" icon="droplet-half" height="15" class="mb-3" /> <b-icon v-if="type != 'decay'" icon="droplet-half" height="15" class="mb-3" />
@ -27,10 +31,14 @@
<!-- Text Rechts --> <!-- Text Rechts -->
<div class="font1_2em text-left pl-2" style="width: 55%"> <div class="font1_2em text-left pl-2" style="width: 55%">
{{ name ? name : '' }} {{ name ? name : '' }}
<div><small >
{{ memo }}
</small>
</div>
<span v-if="type === 'decay'"> <span v-if="type === 'decay'">
<small>{{ $t('decay.decay_since_last_transaction') }}</small> <small>{{ $t('decay.decay_since_last_transaction') }}</small>
</span> </span>
<div v-if="date" class="text-sm">{{ $d($moment(date), 'long') }}</div> <div v-if="date" class="text-sm">{{ $d($moment(date), 'long') }} {{ $i18n.locale === 'de' ? 'Uhr' : '' }}</div>
<decay-information v-if="decay" decaytyp="short" :decay="decay" /> <decay-information v-if="decay" decaytyp="short" :decay="decay" />
</div> </div>
<!-- Collaps Toggle Button --> <!-- Collaps Toggle Button -->
@ -47,7 +55,8 @@
<b-list-group-item style="border: 0px; background-color: #f1f1f1"> <b-list-group-item style="border: 0px; background-color: #f1f1f1">
<div class="d-flex"> <div class="d-flex">
<div style="width: 40%" class="text-right pr-3 mr-2"> <div style="width: 40%" class="text-right pr-3 mr-2">
{{ type === 'receive' ? 'von:' : 'an:' }} {{ type === 'receive' ? $t('form.from') : $t('form.to1') }}:
</div> </div>
<div style="width: 60%"> <div style="width: 60%">
{{ name }} {{ name }}
@ -56,7 +65,7 @@
</div> </div>
<div class="d-flex"> <div class="d-flex">
<div style="width: 40%" class="text-right pr-3 mr-2"> <div style="width: 40%" class="text-right pr-3 mr-2">
{{ type === 'receive' ? 'Nachricht:' : 'Nachricht:' }} {{$t('form.message')}}
</div> </div>
<div style="width: 60%"> <div style="width: 60%">
{{ memo }} {{ memo }}

View File

@ -22,7 +22,7 @@
<input-email v-model="form.email"></input-email> <input-email v-model="form.email"></input-email>
<div class="text-center"> <div class="text-center">
<b-button type="submit" variant="primary"> <b-button type="submit" variant="primary">
{{ $t('site.password.reset_now') }} {{ $t('site.password.send_now') }}
</b-button> </b-button>
</div> </div>
</b-form> </b-form>