Add role adding page to guest profiles
Code for guest routes moved to their own folder so that we don't need multiple api calls. Serializer class for roles has been simplified with methods for validation of each field and a separate one used in invites without requiring the person field. Resolves: GREG-61
parent
3bb81315
No related branches found
No related tags found
Checking pipeline status
This commit is part of merge request !124. Comments created here will be created in the context of that merge request.
Showing
- frontend/public/locales/en/common.json 3 additions, 0 deletionsfrontend/public/locales/en/common.json
- frontend/public/locales/nb/common.json 3 additions, 0 deletionsfrontend/public/locales/nb/common.json
- frontend/public/locales/nn/common.json 3 additions, 0 deletionsfrontend/public/locales/nn/common.json
- frontend/src/routes/components/sponsorInfoButtons.tsx 6 additions, 4 deletionsfrontend/src/routes/components/sponsorInfoButtons.tsx
- frontend/src/routes/sponsor/guest/guestInfo/index.tsx 22 additions, 50 deletionsfrontend/src/routes/sponsor/guest/guestInfo/index.tsx
- frontend/src/routes/sponsor/guest/guestRoleInfo/index.tsx 14 additions, 14 deletionsfrontend/src/routes/sponsor/guest/guestRoleInfo/index.tsx
- frontend/src/routes/sponsor/guest/index.tsx 73 additions, 0 deletionsfrontend/src/routes/sponsor/guest/index.tsx
- frontend/src/routes/sponsor/guest/newGuestRole/index.tsx 255 additions, 0 deletionsfrontend/src/routes/sponsor/guest/newGuestRole/index.tsx
- frontend/src/routes/sponsor/index.tsx 4 additions, 8 deletionsfrontend/src/routes/sponsor/index.tsx
- gregui/api/serializers/invitation.py 2 additions, 2 deletionsgregui/api/serializers/invitation.py
- gregui/api/serializers/role.py 83 additions, 28 deletionsgregui/api/serializers/role.py
- gregui/api/urls.py 2 additions, 0 deletionsgregui/api/urls.py
- gregui/api/views/person.py 3 additions, 0 deletionsgregui/api/views/person.py
- gregui/api/views/role.py 25 additions, 9 deletionsgregui/api/views/role.py
- gregui/tests/api/test_invite_guest.py 7 additions, 2 deletionsgregui/tests/api/test_invite_guest.py
- gregui/urls.py 0 additions, 2 deletionsgregui/urls.py
Loading
Please register or sign in to comment