feat(salix): refs #6427 #6427 Update front
gitea/salix/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Javier Segarra 2024-04-27 21:28:08 +02:00
parent 719979f252
commit 5914c73844
3 changed files with 12 additions and 24 deletions

View File

@ -1,31 +1,16 @@
<h5 class="vn-mb-md vn-mt-lg" translate>Recover password</h5>
<vn-check
label="Recibir por SMS"
ng-model="$ctrl.sms"
name="sms">
</vn-check>
<vn-textfield
ng-if="!$ctrl.sms"
label="User or recovery email"
ng-model="$ctrl.user"
vn-focus>
</vn-textfield>
<vn-textfield
ng-if="$ctrl.sms"
disabled="$ctrl.otp"
label="User's id"
ng-model="$ctrl.userId"
type="number"
required="true"
vn-focus>
</vn-textfield>
<vn-textfield
<!-- <vn-textfield
ng-if="$ctrl.sms"
disabled="$ctrl.otp"
label="User's phone"
ng-model="$ctrl.user"
required="true">
</vn-textfield>
</vn-textfield> -->
<vn-textfield
ng-if="$ctrl.otp"
label="Verification code"
@ -34,16 +19,16 @@
autocomplete="false"
class="vn-mt-md">
</vn-textfield>
<div class="text-secondary">
<span ng-if="$ctrl.sms" translate>
We will sent you a sms
<div class="text-secondary" ng-if="$ctrl.user">
<span ng-if="$ctrl.isPhone" translate>
We will sent you a sms to recover your password
</span>
<span ng-if="!$ctrl.sms" translate>
<span ng-if="!$ctrl.isPhone " translate>
We will sent you an email to recover your password
</span>
</div>
<div class="footer">
<vn-submit label="Recover password" ng-click="$ctrl.submit()"></vn-submit>
<vn-submit disabled="!$ctrl.user" label="Recover password" ng-click="$ctrl.submit()"></vn-submit>
<div class="spinner-wrapper">
<vn-spinner enable="$ctrl.loading"></vn-spinner>
</div>

View File

@ -0,0 +1,2 @@
We will sent you a item to recover your password: We will sent you a {{mode}} to recover your password

View File

@ -1,8 +1,9 @@
Recover password: Recuperar contraseña
We will sent you an email to recover your password: Te enviaremos un correo para restablecer tu contraseña
We will sent you a sms: Te enviaremos un sms para restablecer tu contraseña
We will sent you a sms to recover your password: Te enviaremos un sms para restablecer tu contraseña
We will sent you a item to recover your password: Te enviaremos un {{mode}} para restablecer tu contraseña
Notification sent!: ¡Notificación enviada!
User or recovery email: Usuario o correo de recuperación
User or recovery email: Usuario, télefono o correo de recuperación
User's phone: Móvil del usuario
User's id: Id del usuario
Credentials not valid: Credenciales no válidas