Add Role Info Page to sponsor frontend
Allows changes to start- and end date for guest roles. A new endpoint has been added to the ui api for doing PATCH request to support this. The max days of each role type is respected. Resolves: GREG-83
parent
da9ffd6f
No related branches found
No related tags found
Showing
- frontend/public/locales/en/common.json 5 additions, 0 deletionsfrontend/public/locales/en/common.json
- frontend/public/locales/nb/common.json 5 additions, 0 deletionsfrontend/public/locales/nb/common.json
- frontend/public/locales/nn/common.json 5 additions, 0 deletionsfrontend/public/locales/nn/common.json
- frontend/src/hooks/useRoleTypes/index.tsx 4 additions, 4 deletionsfrontend/src/hooks/useRoleTypes/index.tsx
- frontend/src/interfaces/index.ts 6 additions, 2 deletionsfrontend/src/interfaces/index.ts
- frontend/src/routes/components/sponsorInfoButtons.tsx 54 additions, 0 deletionsfrontend/src/routes/components/sponsorInfoButtons.tsx
- frontend/src/routes/sponsor/frontpage/index.tsx 13 additions, 2 deletionsfrontend/src/routes/sponsor/frontpage/index.tsx
- frontend/src/routes/sponsor/guestInfo/index.tsx 17 additions, 46 deletionsfrontend/src/routes/sponsor/guestInfo/index.tsx
- frontend/src/routes/sponsor/guestRoleInfo/index.tsx 191 additions, 0 deletionsfrontend/src/routes/sponsor/guestRoleInfo/index.tsx
- frontend/src/routes/sponsor/index.tsx 8 additions, 2 deletionsfrontend/src/routes/sponsor/index.tsx
- frontend/src/routes/sponsor/register/index.tsx 2 additions, 2 deletionsfrontend/src/routes/sponsor/register/index.tsx
- frontend/src/utils/index.test.ts 14 additions, 2 deletionsfrontend/src/utils/index.test.ts
- frontend/src/utils/index.ts 42 additions, 40 deletionsfrontend/src/utils/index.ts
- gregui/api/serializers/role.py 38 additions, 2 deletionsgregui/api/serializers/role.py
- gregui/api/views/role.py 30 additions, 0 deletionsgregui/api/views/role.py
- gregui/urls.py 2 additions, 0 deletionsgregui/urls.py
- gregui/views.py 3 additions, 1 deletiongregui/views.py
Loading
Please register or sign in to comment