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>
|
<div v-else>
|
||||||
<transition name="ds-transition-fade">
|
<transition name="ds-transition-fade">
|
||||||
<ds-flex centered>
|
<ds-flex centered>
|
||||||
<sweetalert-icon icon="success" />
|
<sweetalert-icon icon="info" />
|
||||||
</ds-flex>
|
</ds-flex>
|
||||||
</transition>
|
</transition>
|
||||||
<ds-text v-html="submitMessage" />
|
<ds-text v-html="submitMessage" />
|
||||||
|
|||||||
@ -64,6 +64,7 @@
|
|||||||
</ds-space>
|
</ds-space>
|
||||||
</ds-form>
|
</ds-form>
|
||||||
<ds-text v-else>
|
<ds-text v-else>
|
||||||
|
<sweetalert-icon :icon="changePasswordResult" />
|
||||||
{{ changePasswordResultMessage }}
|
{{ changePasswordResultMessage }}
|
||||||
</ds-text>
|
</ds-text>
|
||||||
</template>
|
</template>
|
||||||
@ -74,9 +75,11 @@
|
|||||||
<script>
|
<script>
|
||||||
import PasswordStrength from '../Password/Strength'
|
import PasswordStrength from '../Password/Strength'
|
||||||
import gql from 'graphql-tag'
|
import gql from 'graphql-tag'
|
||||||
|
import { SweetalertIcon } from 'vue-sweetalert-icons'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
|
SweetalertIcon,
|
||||||
PasswordStrength,
|
PasswordStrength,
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
|
|||||||
@ -29,7 +29,7 @@
|
|||||||
"submit": "Sicherheitscode überprüfen",
|
"submit": "Sicherheitscode überprüfen",
|
||||||
"change-password":{
|
"change-password":{
|
||||||
"success": "Änderung des Passworts war erfolgreich",
|
"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",
|
"submit": "Check security code",
|
||||||
"change-password": {
|
"change-password": {
|
||||||
"success": "Changing your password was successful",
|
"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