mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
Nicer information messages
This commit is contained in:
parent
3948cb8ace
commit
69434cdc7f
@ -37,7 +37,7 @@
|
||||
<div v-else>
|
||||
<transition name="ds-transition-fade">
|
||||
<ds-flex centered>
|
||||
<sweetalert-icon icon="success" />
|
||||
<sweetalert-icon icon="info" />
|
||||
</ds-flex>
|
||||
</transition>
|
||||
<ds-text v-html="submitMessage" />
|
||||
|
||||
@ -64,6 +64,7 @@
|
||||
</ds-space>
|
||||
</ds-form>
|
||||
<ds-text v-else>
|
||||
<sweetalert-icon :icon="changePasswordResult" />
|
||||
{{ changePasswordResultMessage }}
|
||||
</ds-text>
|
||||
</template>
|
||||
@ -74,9 +75,11 @@
|
||||
<script>
|
||||
import PasswordStrength from '../Password/Strength'
|
||||
import gql from 'graphql-tag'
|
||||
import { SweetalertIcon } from 'vue-sweetalert-icons'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
SweetalertIcon,
|
||||
PasswordStrength,
|
||||
},
|
||||
data() {
|
||||
|
||||
@ -29,7 +29,7 @@
|
||||
"submit": "Sicherheitscode überprüfen",
|
||||
"change-password":{
|
||||
"success": "Änderung des Passworts war erfolgreich",
|
||||
"failure": "Passwort Änderung fehlgeschlagen. Möglicherweise falscher Sicherheitscode?"
|
||||
"error": "Passwort Änderung fehlgeschlagen. Möglicherweise falscher Sicherheitscode?"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@ -29,7 +29,7 @@
|
||||
"submit": "Check security code",
|
||||
"change-password": {
|
||||
"success": "Changing your password was successful",
|
||||
"failure": "Changing your password failed. Maybe the security code was not correct?"
|
||||
"error": "Changing your password failed. Maybe the security code was not correct?"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user