Commit graph

22 commits

Author SHA1 Message Date
Alex Tselegidis
88eda77d0c Expose the internal JS functions so that they be overriden 2024-05-11 16:13:00 +02:00
Thomas Ingles
35e03c21cd
Feat Dynamic Fields TimeZone & Language for new users
+ Language by `vars('language')`
+ + When add a user, the selected lang is same as back office lang
+ + Note : when change lang with bottom selector, go to default lang

+ Timezone by `moment.tz.guess()`
+ + See :
https://stackoverflow.com/questions/1091372/getting-the-clients-time-zone-and-offset-in-javascript#40435316

`Fix empty field language val for secretaries admin page`

More usefull and maybe for #1386 #1476 & #1390
2024-04-24 18:40:34 +02:00
Alex Tselegidis
2878d1299a Reformat entire codebase for trailing comma that will make line duplication easier 2023-12-22 11:35:41 +01:00
Alex Tselegidis
93fdbd875a Correct the message modal handling methods 2023-02-20 08:24:49 +01:00
Alex Tselegidis
91dff1efa6 Set default values for the user options 2022-07-26 17:12:06 +03:00
Alex Tselegidis
905dd59425 Allow the user to select their own preferred language (#1263) 2022-05-20 18:15:14 +02:00
Alex Tselegidis
05e6704e67 Secondary info wrapped in small tag and using text-muted class. 2022-01-26 21:27:57 +01:00
Alex Tselegidis
e659bd6e08 Add soft phone number validation (#820). 2022-01-24 15:48:20 +01:00
Alex Tselegidis
fbb9baec50 Change display of read only field (remove border). 2022-01-19 09:39:13 +01:00
Alex Tselegidis
54e4c208a3 Update the project subtitle. 2022-01-18 13:05:42 +01:00
Alex Tselegidis
116ccb9a76 Update since comment tag with 1.5 value 2022-01-18 13:01:22 +01:00
Alex Tselegidis
6e53af0356 Convert remaining functions to arrow functions in JS files. 2022-01-18 11:14:45 +01:00
Alex Tselegidis
8bc1f49613 Remove prefix from admins HTML elements 2022-01-18 10:33:59 +01:00
Alex Tselegidis
8dad2d9624 Replace the global App.Lang with the "lang" helper method, which is more appropriate due to the dynamic load of script translation strings. 2022-01-18 08:22:25 +01:00
Alex Tselegidis
e93565500d Replace the global App.Vars with the "vars" helper method, which is more appropriate due to the dynamic load of script vars. 2022-01-18 08:18:22 +01:00
Alex Tselegidis
a513ee895e Rename $adminId selector variable to $id. 2022-01-17 14:27:46 +01:00
Alex Tselegidis
ea6b13f1d2 Code refactoring and improvements for the admins page. 2022-01-17 05:39:12 +01:00
Alex Tselegidis
22439eb60a Replace all backend layout occurrences. 2022-01-17 05:26:57 +01:00
Alex Tselegidis
32b6052546 Update the js doc content of the javascript files. 2022-01-14 09:26:44 +01:00
Alex Tselegidis
a89a6d8faf Rename "init" methods to "initialize". 2022-01-14 08:31:12 +01:00
Alex Tselegidis
7409b17a03 Export common admin page module functions. 2022-01-10 09:07:48 +01:00
Alex Tselegidis
30418468e8 Convert the admins page to the new js module structure. 2022-01-07 09:29:04 +01:00