ode-csslib-openent-monlycee 3.2.8 → 3.2.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8,29 +8,15 @@
8
8
  <h4><i18n>auth.forgot.text</i18n></h4>
9
9
 
10
10
  <h2 ng-click="showWhat = showWhat === 'forgotPassword' ? null : 'forgotPassword'"><a><i18n>auth.lost.password</i18n></a></h2>
11
- <div ng-if="showWhat === 'forgotPassword'" ng-init="initUser()">
11
+ <div ng-if="showWhat === 'forgotPassword'" ng-init="initUser(); passwordChannels()">
12
12
  <p><i18n>auth.lost.password.text</i18n></p>
13
13
  <div class="row">
14
- <form class="nostyle rowstyle" name="forgotPasswordForm" ng-submit="passwordChannels(user.login)">
14
+ <form class="nostyle rowstyle" name="forgotPasswordForm">
15
15
  <input type="text" translate attr="placeholder" placeholder="auth.email"
16
- name="login" ng-model="user.login" ng-keydown="noSpace($event)" ng-change="noUpperCase(); user.channels = {}" required/>
17
- <input type="submit" translate attr="value" value="auth.forgot.send" ng-disabled="forgotPasswordForm.$invalid"/>
16
+ name="login" ng-model="user.login" ng-change="user.channels = {}" required/>
17
+ <input type="submit" translate attr="value" ng-click="forgotPassword(user.login, 'mail')" value="auth.forgot.send.mail" ng-disabled="forgotPasswordForm.$invalid"/>
18
+ <input ng-if="user.channels.mobile" type="submit" translate attr="value" ng-click="forgotPassword(user.login, 'mobile')" value="auth.forgot.send.sms" ng-disabled="forgotPasswordForm.$invalid"/>
18
19
  </form>
19
-
20
- <ul ng-if="user.channels.mobile || user.channels.mail">
21
- <li ng-if="user.channels.mail">
22
- <a class="reduce-block-eight" ng-click="forgotPassword(user.login, 'mail')">
23
- <u><i18n>auth.click.to.send.mail</i18n></u>
24
- </a>
25
- <b class="horizontal-spacing">[[user.channels.mail]]</b>
26
- </li>
27
- <li ng-if="user.channels.mobile">
28
- <a class="reduce-block-eight" ng-click="forgotPassword(user.login, 'mobile')">
29
- <u><i18n>auth.click.to.send.sms</i18n></u>
30
- </a>
31
- <b class="horizontal-spacing">[[user.channels.mobile]]</b>
32
- </li>
33
- </ul>
34
20
  <br>
35
21
  </div>
36
22
  </div>
@@ -55,7 +41,7 @@
55
41
  </form>
56
42
  <div class="card info row" ng-if="user.channels.mobile" >
57
43
  <a class="reduce-block-eight" ng-if="user.channels.mobile" ng-click="forgot('mobile')">
58
- <i18n>auth.click.to.send.sms</i18n> <b class="horizontal-spacing">[[user.channels.mobile]]</b>
44
+ <i18n>auth.click.to.send.sms</i18n>
59
45
  </a>
60
46
  </div>
61
47
 
package/dist/version.txt CHANGED
@@ -1,2 +1,2 @@
1
- entcore-css-lib 15/02/2024 12:34:48
2
- ode-csslib-openent-monlycee 15/02/2024 12:44:52
1
+ entcore-css-lib 04/03/2024 11:13:41
2
+ ode-csslib-openent-monlycee 08/04/2024 17:22:05
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ode-csslib-openent-monlycee",
3
- "version": "3.2.8",
3
+ "version": "3.2.11",
4
4
  "description": "Open ENT theme by Edifice",
5
5
  "repository": {
6
6
  "type": "git",