ode-csslib-openent-monlycee 3.2.6-develop-wl.202403081608 → 3.2.9

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,15 +8,29 @@
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(); passwordChannels()">
11
+ <div ng-if="showWhat === 'forgotPassword'" ng-init="initUser()">
12
12
  <p><i18n>auth.lost.password.text</i18n></p>
13
13
  <div class="row">
14
- <form class="nostyle rowstyle" name="forgotPasswordForm">
14
+ <form class="nostyle rowstyle" name="forgotPasswordForm" ng-submit="passwordChannels(user.login)">
15
15
  <input type="text" translate attr="placeholder" placeholder="auth.email"
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"/>
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"/>
19
18
  </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>
20
34
  <br>
21
35
  </div>
22
36
  </div>
@@ -41,7 +55,7 @@
41
55
  </form>
42
56
  <div class="card info row" ng-if="user.channels.mobile" >
43
57
  <a class="reduce-block-eight" ng-if="user.channels.mobile" ng-click="forgot('mobile')">
44
- <i18n>auth.click.to.send.sms</i18n>
58
+ <i18n>auth.click.to.send.sms</i18n> <b class="horizontal-spacing">[[user.channels.mobile]]</b>
45
59
  </a>
46
60
  </div>
47
61
 
package/dist/version.txt CHANGED
@@ -1,2 +1,2 @@
1
1
  entcore-css-lib 04/03/2024 11:13:41
2
- ode-csslib-openent-monlycee 08/03/2024 16:08:54
2
+ ode-csslib-openent-monlycee 02/04/2024 15:23:53
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ode-csslib-openent-monlycee",
3
- "version": "3.2.6-develop-wl.202403081608",
4
- "description": "Open ENT theme by Open Digital Education",
3
+ "version": "3.2.9",
4
+ "description": "Open ENT theme by Edifice",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git@github.com:OPEN-ENT-NG/theme-open-ent.git"
@@ -11,7 +11,7 @@
11
11
  "ODE",
12
12
  "theme"
13
13
  ],
14
- "author": "Open Digital Education",
14
+ "author": "Edifice",
15
15
  "license": "AGPL-3.0",
16
16
  "dependencies": {
17
17
  "entcore-css-lib": "npm:ode-csslib@master"