2f28e02f65
prepare vue Address to be used too in accompanyingCourse context
...
i18n is managed by root component:
* ok for person and household implementation (=> they use Address root component)
* but must be imported in vue i18n file if called from another component
submitAddress is emit to parent, it allow to control final action:
* casting final submitNewAddress with POST requests (for person or household entity);
* or dispatching changes from store, casting only payload to be used.
remove and simplify some options: backurl is always used with person/household,
and never if called from another vue component.
2021-08-13 16:01:15 +02:00
4b69f97e2f
vue AddAddress: merge api files in the person bundle
2021-08-13 10:23:46 +02:00
c302452e01
improve Address reusability: move i18n translations out of root component
2021-08-12 16:45:41 +02:00
76a4b24aa1
improve vue Address options (to be checked in all context)
2021-08-12 15:50:27 +02:00
840ffe42a6
fix patchAddress with date validFrom
2021-08-08 22:27:39 +02:00
1f8c343a89
submitAddress doesn't take arguments
2021-08-08 22:01:27 +02:00
f6a02e157d
manage validFrom date, wip (patchAddress return 500)
2021-08-08 22:01:27 +02:00
21957846b0
fix more precise condition
2021-08-08 12:30:31 +02:00
1c7e1b55f8
standard successText seems better
2021-08-08 12:30:31 +02:00
ea391d18e9
fix display alerts above
2021-08-08 12:30:31 +02:00
72cd9f452e
fix 500: in edit context, we don't need to postAddressTo a second time !
2021-08-08 12:30:31 +02:00
44313b507a
twig include allow to pass mode:edit option when it's not detected
2021-08-08 11:14:31 +02:00
46bd70881e
Address i18n: manage specific translations
2021-08-08 10:34:02 +02:00
fbf343dd19
keep this unused subcomponent file, wrote for Address with household
2021-08-08 09:59:31 +02:00
0075fed9a5
submit methods: first promise is shared for person or household context
2021-08-08 09:48:42 +02:00
62dc94bb14
Twig: test address_id in url and substring 'edit' in route
2021-08-08 08:35:52 +02:00
c075ff199d
fix and rename variables + remove comments
2021-08-07 19:21:34 +02:00
e178183cef
corrections + details
2021-08-07 18:50:10 +02:00
63fbf4b249
make Address works with household context
2021-08-07 17:29:45 +02:00
9f77b84e48
prepare to merge HouseholdAddress in Address: split api.js files
2021-08-07 15:47:38 +02:00
cdbd97e595
passing option binModalStep from twig include template
2021-08-06 21:32:10 +02:00
24714227b8
transmit all options from a twig include template
2021-08-06 21:20:59 +02:00
da09e10fb1
adding options in root component to see result or redirect (not working)
2021-08-06 17:36:19 +02:00
b62597426c
classes for address-valid
2021-08-06 16:41:29 +02:00
6c0ab6f25e
when creating new address, start first with edit panel
2021-08-06 16:41:29 +02:00
9f3ceb94f0
adding options to custom button, and improve stepWithModal options
2021-08-06 16:39:21 +02:00
01cc230136
Submitting address, and validFrom field
2021-08-05 22:04:41 +02:00
884de5c19e
address refactoring: resolve lack of flexibility for many implementations (modal/not, overriding, options, etc. )
...
address creation/edition is unchanged
many variables are renamed to improve logic and readability
2021-08-04 23:24:52 +02:00
7665181d44
Merge branch 'bootstrap5' into add-location-period
2021-08-02 16:20:58 +02:00
a8047fd89b
make changes to avoid git conflict when we will merge bootstrap5 branch
2021-08-02 15:41:37 +02:00
ad55cc0477
automatic IDE clean code
2021-08-02 13:44:13 +02:00
e2e38a9ce8
vue_accourse: replace some buttons by small buttons
2021-08-02 13:31:41 +02:00
d916b575da
AddAddress modal: make title dynamically passed by parent
2021-08-02 13:26:23 +02:00
ee819e7767
improve flex-table logic, with accompanying period list template
2021-08-01 18:38:31 +02:00
48873d15c9
ajust list_with_period search with person render_box (and add new options to it)
2021-08-01 15:24:48 +02:00
c4a8b85be5
template accompanying period list: buttons, flex-table (wip)
2021-08-01 13:47:08 +02:00
4c47105de1
flex-table column width auto; overwrite for specific use
2021-08-01 13:43:09 +02:00
1c404e5cb3
lib/entity/comment_embeddable styles have been moved
2021-08-01 13:23:06 +02:00
360322bdbf
missing comment fields on person details page
2021-07-31 14:49:01 +02:00
8c06014ea5
render_box comment embeddable, misc
2021-07-31 14:48:03 +02:00
98dd31dffc
render_box person: possible to force disable AltNames; add space between span
2021-07-31 14:45:34 +02:00
1325355ca7
revert flashbag wrapper class
2021-07-31 13:14:31 +02:00
9764ee1794
styles, replace colors by variables, minor changes with colors
2021-07-31 11:00:37 +02:00
a48d7f5e94
move styles from bootstrap custom to chill entrypoint. split chillmain with imports sheets. clean styles
2021-07-31 10:34:20 +02:00
949366cf7b
fix test failures
2021-07-30 22:32:29 +02:00
65fe9ab784
Merge branch 'master' into bootstrap5
2021-07-30 20:31:46 +02:00
532d4aa164
rename classes and add tags in vue Address component
2021-07-30 20:10:31 +02:00
f9735823c7
minor class renaming
2021-07-30 18:39:57 +02:00
b683e60cf7
address history: improve template, insert buttons with validFrom/validTo difference
2021-07-30 17:34:03 +02:00
e8e4dbef1f
banner household, new responsive design
2021-07-30 15:39:22 +02:00