Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

P2sprint16 release to uat #1103

Merged
merged 116 commits into from
Feb 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
116 commits
Select commit Hold shift + click to select a range
d31d283
Update environment-NFT.ts
ponselvamsakthivel-bc Jul 19, 2022
e789e4f
Update environment-NFT.ts
ponselvamsakthivel-bc Aug 19, 2022
ff920e0
Merge pull request #665 from Crown-Commercial-Service/main
ponselvamsakthivel-bc Aug 23, 2022
2de552a
Merge pull request #760 from Crown-Commercial-Service/main
ponselvamsakthivel-bc Sep 29, 2022
18c85d6
patch for sprint 14 about logout issue while (#782)
VijayHirudayasamy-bc Oct 5, 2022
1a9ed3f
Merge pull request #783 from Crown-Commercial-Service/p2sprint14
ponselvamsakthivel-bc Oct 6, 2022
be0001a
3773 - Hotfix sp14 - Loader issue while switching org (#792)
brijeshpatel-bc Oct 7, 2022
be38993
Merge pull request #793 from Crown-Commercial-Service/p2sprint14
ponselvamsakthivel-bc Oct 7, 2022
8b5795c
Merge pull request #797 from Crown-Commercial-Service/p2sprint11
ponselvamsakthivel-bc Oct 11, 2022
2b876a0
Merge pull request #808 from Crown-Commercial-Service/p2sprint15
ponselvamsakthivel-bc Oct 17, 2022
f629adc
Merge pull request #811 from Crown-Commercial-Service/p2sprint15
ponselvamsakthivel-bc Oct 18, 2022
b8b2356
Merge branch 'testing' into main
ponselvamsakthivel-bc Oct 18, 2022
a13ac8f
Merge pull request #815 from Crown-Commercial-Service/main
ponselvamsakthivel-bc Oct 18, 2022
b59e42b
# (#816)
ajithmuthukumar-bc Oct 19, 2022
8294df7
3056-bulk-upload-change-for-sprint11
ajithmuthukumar-bc Oct 20, 2022
fafb7db
Merge branch 'sandbox' into 3056-hide-bulk-upload-in-sprint16
ajithmuthukumar-bc Oct 20, 2022
1a36a9d
Merge pull request #820 from Crown-Commercial-Service/3056-hide-bulk-…
ajithmuthukumar-bc Oct 20, 2022
8ed39e8
Revert "# (#816)"
ponselvamsakthivel-bc Oct 20, 2022
e650f33
Merge pull request #821 from Crown-Commercial-Service/revert-816-3056…
ponselvamsakthivel-bc Oct 20, 2022
8670494
2071 auto validation UI (#831)
ajithmuthukumar-bc Oct 31, 2022
9fbd68c
auth guard and role guard update
ajithmuthukumar-bc Nov 2, 2022
d326254
3046 issues fixed (#836)
ajithmuthukumar-bc Nov 2, 2022
8d68605
p2sprint16 dev release
ponselvamsakthivel-bc Nov 3, 2022
96a0419
Merge pull request #842 from Crown-Commercial-Service/p2sprint15
ponselvamsakthivel-bc Nov 3, 2022
777861b
Update environment-development.ts
ponselvamsakthivel-bc Nov 3, 2022
add7f5e
Update environment-development.ts
ponselvamsakthivel-bc Nov 3, 2022
58fc0d1
Update environment-testing.ts
ponselvamsakthivel-bc Nov 3, 2022
f88caf5
Update nginx.conf
ponselvamsakthivel-bc Nov 3, 2022
57e2fcb
Update nginx.conf
ponselvamsakthivel-bc Nov 3, 2022
c133dac
Merge branch 'p2sprint16' of https://github.com/Crown-Commercial-Serv…
ajithmuthukumar-bc Nov 3, 2022
f690b6e
#
ajithmuthukumar-bc Nov 4, 2022
c81c141
#
ajithmuthukumar-bc Nov 5, 2022
a74b182
manage service elegibity changes
ajithmuthukumar-bc Nov 8, 2022
d71fc54
pre tick concept complete
ajithmuthukumar-bc Nov 9, 2022
df1baba
switch api updated
ajithmuthukumar-bc Nov 9, 2022
9b098f5
updated delete concept
ajithmuthukumar-bc Nov 9, 2022
d355751
confirmation page and success page update
ajithmuthukumar-bc Nov 10, 2022
283bc93
design issues fixed
ajithmuthukumar-bc Nov 10, 2022
67a03aa
roles display condtions complete
ajithmuthukumar-bc Nov 10, 2022
24cd57d
confirmation page auto validation config
ajithmuthukumar-bc Nov 14, 2022
916824f
Auto validation manage service elegibilty UI (#853)
ajithmuthukumar-bc Nov 14, 2022
3a19e0c
Merge pull request #854 from Crown-Commercial-Service/p2sprint16
ponselvamsakthivel-bc Nov 14, 2022
712acf2
mse issue and ui issue fixed (#860)
ajithmuthukumar-bc Nov 15, 2022
9a205df
pre-tick blocks (#861)
ajithmuthukumar-bc Nov 15, 2022
b63460a
Merge pull request #862 from Crown-Commercial-Service/p2sprint16
ajithmuthukumar-bc Nov 15, 2022
a56dc10
Merge pull request #865 from Crown-Commercial-Service/p2sprint15
ponselvamsakthivel-bc Nov 17, 2022
b9a457e
Manage Buyer status requests get audits api integration
brijrajsinh-bc Nov 18, 2022
bb527b3
Merge branch 'nft' into main
ponselvamsakthivel-bc Nov 18, 2022
e63272e
Merge branch 'auto-validation-manage-service-elegibilty-ui' into p2sp…
ajithmuthukumar-bc Nov 21, 2022
a506c0f
Auto validation api integration UI (#871)
ajithmuthukumar-bc Nov 21, 2022
ef738ca
Merge branch 'development' into p2sprint16
ponselvamsakthivel-bc Nov 21, 2022
522cf3a
Update app-routing.module.ts
ajithmuthukumar-bc Nov 22, 2022
c7f20d1
Auto validation manage service elegibilty UI (#875)
brijrajsinh-bc Nov 22, 2022
eac4aba
4016 mse bugs (#877)
ajithmuthukumar-bc Nov 23, 2022
5855430
Auto validation manage service elegibilty UI (#879)
brijrajsinh-bc Nov 23, 2022
8331bc4
fixed date formate issue and swich api changes (#880)
ajithmuthukumar-bc Nov 23, 2022
1ec5fe8
local machine error fixed (#881)
ajithmuthukumar-bc Nov 23, 2022
195a9f4
Auto validation manage service elegibilty UI (#883)
brijrajsinh-bc Nov 23, 2022
b5c4bc8
4016 mse bugs (#885)
ajithmuthukumar-bc Nov 24, 2022
48cc832
Accessibility issue in autovalidation UI (#886)
ajithmuthukumar-bc Nov 24, 2022
84dc56b
build error fixes (#888)
ajithmuthukumar-bc Nov 24, 2022
4dcb0e1
Auto validation ajith (#890)
ajithmuthukumar-bc Nov 24, 2022
d6fe243
auto validation pending bug fixed (#893)
ajithmuthukumar-bc Nov 25, 2022
4608a37
Merge branch 'sandbox' into p2sprint15
ponselvamsakthivel-bc Nov 25, 2022
5cdfeba
4039 confirmation page issue mse (#895)
ajithmuthukumar-bc Nov 25, 2022
2891a86
Merge pull request #896 from Crown-Commercial-Service/p2sprint15
ponselvamsakthivel-bc Nov 25, 2022
9ede1ca
Update environment-sandbox.ts
ponselvamsakthivel-bc Nov 25, 2022
f47d4cd
Update app-routing.module.ts
ajithmuthukumar-bc Nov 25, 2022
2ff6471
issue fixed (#898)
ajithmuthukumar-bc Nov 25, 2022
2573b37
Log text has been updated (#900)
VijayHirudayasamy-bc Nov 29, 2022
28e9ac0
4047, 4048 , 4050 issues are fixed (#902)
ajithmuthukumar-bc Nov 30, 2022
bc7f327
roles un-assign updated (#905)
ajithmuthukumar-bc Dec 1, 2022
61b1e36
revert code+ (#907)
ajithmuthukumar-bc Dec 1, 2022
f7b19e6
code removed (#911)
ajithmuthukumar-bc Dec 2, 2022
5960d17
4060 role issue fixed (#913)
ajithmuthukumar-bc Dec 5, 2022
d3f2457
Bug 4069: Issue with removing roles when changing organisation type f…
brijeshpatel-bc Dec 5, 2022
269e074
comments from json files are removed (#915)
VijayHirudayasamy-bc Dec 5, 2022
81561e6
4076 and 4077 issue fixed (#920)
ajithmuthukumar-bc Dec 6, 2022
8f8d6bd
sandbox conflicts on env files
ponselvamsakthivel-bc Dec 7, 2022
7496b0e
sandbox conflicts on user-profile.html
ponselvamsakthivel-bc Dec 7, 2022
26b0db5
Merge branch 'sandbox' into p2sprint16
ponselvamsakthivel-bc Dec 7, 2022
3de4e7f
4084 issue fixed (#928)
ajithmuthukumar-bc Dec 12, 2022
ffc89f4
Role rename changes (#932) (#933)
brijrajsinh-bc Dec 13, 2022
93b70a6
4156 issue fixed and did buddy check with kawshi (#934)
ajithmuthukumar-bc Dec 13, 2022
40ff26b
Task 4154: CON-2405 - Incorrect 'Administrator' dashboard labels for …
brijeshpatel-bc Dec 13, 2022
c10bf77
4085 issue 2 fixed (#938)
ajithmuthukumar-bc Dec 13, 2022
5080506
3065 cas role details table manage account (#942)
ajithmuthukumar-bc Dec 14, 2022
9de53e4
Task 4154: CON-2405 - Incorrect 'Administrator' dashboard labels for …
brijeshpatel-bc Dec 14, 2022
3d554ac
Merge branch 'main' into p2sprint16
ponselvamsakthivel-bc Dec 14, 2022
900547d
Merge pull request #946 from Crown-Commercial-Service/p2sprint16
ponselvamsakthivel-bc Dec 14, 2022
70f07b2
Merge branch 'testing' into main
ponselvamsakthivel-bc Dec 14, 2022
7adcd56
Merge pull request #947 from Crown-Commercial-Service/main
ponselvamsakthivel-bc Dec 14, 2022
7cd9eea
Update environment-testing.ts
ponselvamsakthivel-bc Dec 14, 2022
0ff4745
Merge pull request #950 from Crown-Commercial-Service/p2sprint16
ponselvamsakthivel-bc Dec 15, 2022
6edff6f
1938 angular page is completed (#953)
ajithmuthukumar-bc Dec 16, 2022
462fac6
Bug 4062: Blank page is displaying when Click on Cancel button from D…
brijeshpatel-bc Dec 16, 2022
3e49a7b
3315 and 3316 and 3317 task complete (#956)
ajithmuthukumar-bc Dec 16, 2022
7d085f4
4211 add breadcrumbs bugs (#959)
ajithmuthukumar-bc Dec 19, 2022
d26f67b
href added (#961)
ajithmuthukumar-bc Dec 19, 2022
09b1205
regiteration flow and 4217 issue fixed (#964)
ajithmuthukumar-bc Dec 20, 2022
c47cac8
nomini flow updated (#966)
ajithmuthukumar-bc Dec 20, 2022
929a63c
gds formate correction updated (#968)
ajithmuthukumar-bc Dec 21, 2022
830ef72
Merge pull request #970 from Crown-Commercial-Service/p3sprint1
ponselvamsakthivel-bc Dec 22, 2022
ce002d9
3315 , 3316 , 3317 changes completed for p2sprint16
ajithmuthukumar-bc Jan 5, 2023
e9b7598
3315 , 3316 , 3317 changes completed for p2sprint16 (#979)
ajithmuthukumar-bc Jan 5, 2023
be1408e
Merge branch 'main' into p2sprint16
ponselvamsakthivel-bc Jan 5, 2023
2aef575
Merge pull request #980 from Crown-Commercial-Service/p2sprint16
ponselvamsakthivel-bc Jan 5, 2023
79e5cbe
Merge pull request #981 from Crown-Commercial-Service/main
ponselvamsakthivel-bc Jan 5, 2023
f1ce331
Revert "interim fix to testing on 05-01-2023"
ponselvamsakthivel-bc Jan 5, 2023
abd6c0c
Merge pull request #982 from Crown-Commercial-Service/revert-981-main
ponselvamsakthivel-bc Jan 5, 2023
86e1eee
Update terms-conditions.component.html
ajithmuthukumar-bc Jan 5, 2023
3377838
Merge branch 'p2sprint16' into 3315-p2sprint16-hot-fix
ajithmuthukumar-bc Jan 5, 2023
0e6ba4d
Merge pull request #983 from Crown-Commercial-Service/3315-p2sprint16…
ajithmuthukumar-bc Jan 5, 2023
1a7073d
Merge branch 'testing' into p2sprint16
ajithmuthukumar-bc Jan 5, 2023
2bdd870
final changes for p2sprint16 (#986)
ajithmuthukumar-bc Jan 5, 2023
82e89be
Merge branch 'uat' into p2sprint16
ponselvamsakthivel-bc Feb 6, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
148 changes: 148 additions & 0 deletions Auth0Templates/LogIn.html
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,141 @@
padding: 20px 17px 14px;
font-weight: bold;
}
.govuk-notification-banner {
font-family: "GDS Transport", arial, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-weight: 400;
font-size: 16px;
font-size: 1rem;
line-height: 1.25;
margin-bottom: 30px;
border: 5px solid #1d70b8;
background-color: #1d70b8;
}

@media (min-width: 40.0625em) .govuk-notification-banner {
margin-bottom: 50px;
}

@media (min-width: 40.0625em) .govuk-notification-banner {
font-size: 19px;
font-size: 1.1875rem;
line-height: 1.3157894737;
}

@media (min-width: 40.0625em) .govuk-notification-banner__header {
padding: 2px 20px 5px;
}

.govuk-notification-banner__header {
padding: 2px 15px 5px;
border-bottom: 1px solid transparent;
}

@media (min-width: 40.0625em) .govuk-notification-banner__title {
font-size: 19px;
font-size: 1.1875rem;
line-height: 1.3157894737;
}

.govuk-notification-banner__title {
font-family: "GDS Transport", arial, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-weight: 700;
font-size: 16px;
font-size: 1rem;
line-height: 1.25;
margin: 0;
padding: 0;
color: #ffffff;
}

@media (min-width: 40.0625em) .govuk-notification-banner__content {
padding: 20px;
}

.govuk-notification-banner__content {
color: #0b0c0c;
padding: 15px;
background-color: #ffffff;
}

.govuk-notification-banner__content> :last-child {
margin-bottom: 0;
}

.govuk-notification-banner__heading {
max-width: 100%;
}

@media (min-width: 40.0625em) .govuk-notification-banner__heading {
font-size: 24px;
font-size: 1.5rem;
line-height: 1.25;
}

@media (min-width: 40.0625em) .govuk-notification-banner__heading {
font-size: 24px !important;
font-size: 1.5rem;
line-height: 1.25;
}

@media (min-width: 40.0625em) .govuk-notification-banner {
font-size: 19px;
font-size: 1.1875rem;
line-height: 1.3157894737;
}

@media (min-width: 40.0625em) .govuk-notification-banner {
margin-bottom: 50px;
}

.govuk-notification-banner__title {
font-size: 19px;
font-size: 1.1875rem;
line-height: 1.3157894737;
}

.govuk-notification-banner__heading {
font-size: 24px;
font-size: 1.5rem;
line-height: 1.25;
font-weight: 700;
}

.govuk-notification-banner__link:link {
color: #1d70b8;
}

.govuk-notification-banner__link {
font-family: "GDS Transport", arial, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-decoration: underline;
text-decoration-thickness: max(1px, 0.0625rem);
text-underline-offset: 0.1em;
}

.govuk-notification-banner__link {
font-size: 1.5rem;
line-height: 1.25;
font-weight: 700;
color: #1d70b8;
}

.govuk-notification-banner__link:hover {
color: #003078;
text-decoration-thickness: max(3px, .1875rem, .12em);
-webkit-text-decoration-skip-ink: none;
text-decoration-skip-ink: none;
-webkit-text-decoration-skip: none;
text-decoration-skip: none;
}
.govuk-link:visited, a:visited {
color: #1d70b8;
}
</style>

<body class="govuk-template__body show-flourishes pillar--none js-enabled">
Expand Down Expand Up @@ -537,6 +672,19 @@ <h2 class="govuk-cookie-banner__heading govuk-heading-m">Cookies on Public Procu
</div>

<div class="govuk-main-wrapper login-container">
<div class="govuk-notification-banner" role="region" aria-labelledby="govuk-notification-banner-title" data-module="govuk-notification-banner">
<div class="govuk-notification-banner__header">
<h2 class="govuk-notification-banner__title" id="govuk-notification-banner-title">
Terms of use
</h2>
</div>
<div class="govuk-notification-banner__content">
<p class="govuk-notification-banner__heading">
The terms of use for the Public Procurement Gateway have changed.
<a class="govuk-notification-banner__link" href="https://dev.identify.crowncommercial.gov.uk/terms-of-use">Read the updated terms of use</a>.
</p>
</div>
</div>
<h1 class="govuk-heading-xl">Sign in to the Public Procurement Gateway</h1>

<div class="govuk-error-summary" aria-labelledby="error-summary-title" role="alert" tabindex="-1"
Expand Down
1 change: 0 additions & 1 deletion e2e/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* To learn more about this file see: https://angular.io/config/tsconfig. */
{
"extends": "../tsconfig.json",
"compilerOptions": {
Expand Down
6 changes: 4 additions & 2 deletions nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,9 @@ http {
error_page 404 /index.html;

}

location ~ .html$ {
add_header Cache-Control no-cache;
}

add_header Strict-Transport-Security 'max-age=31536000; includeSubDomains; preload';
add_header X-XSS-Protection "1; mode=block";
Expand All @@ -82,4 +84,4 @@ http {
}

}
}
}
101 changes: 101 additions & 0 deletions src/app/app-routing.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,18 @@ import { DelegatedUserActivationComponent } from './pages/manage-delegated/landi
import { DelegatedOrganisationComponent } from './pages/manage-delegated/user/delegated-organisation/delegated-organisation.component';
import { TermsConditionsComponent } from './components/terms-conditions/terms-conditions.component';
import { ForgotPasswordErrorComponent } from './pages/forgot-password-error/forgot-password-error.component';
import { ViewPendingVerificationComponent } from './pages/manage-buyer-and-both-requests/view-pending-verification/view-pending-verification.component';
import { ViewVerifiedOrgComponent } from './pages/manage-buyer-and-both-requests/view-verified-org/view-verified-org.component';
import { UpdateOrgTypeComponent } from './pages/buyer/update-org-type/update-org-type.component';
import { AutoValidationBuyerSuccessComponent } from './pages/buyer/auto-validation-buyer-success/auto-validation-buyer-success.component';
import { ConfirmOrgTypeComponent } from './pages/buyer/confirm-org-type/confirm-org-type.component';
import { ConfirmDeclineComponent } from './pages/manage-buyer-and-both-requests/confirm-decline/confirm-decline.component';
import { BuyerBothRequestsComponent } from './pages/manage-buyer-and-both-requests/buyer-both-requests/buyer-both-requests.component';
import { ConfirmAcceptComponent } from './pages/manage-buyer-and-both-requests/confirm-accept/confirm-accept.component';
import { RemoveRightToBuyComponent } from './pages/manage-buyer-and-both-requests/remove-right-to-buy/remove-right-to-buy.component';
import { SuccessRightToBuyComponent } from './pages/manage-buyer-and-both-requests/success-right-to-buy/success-right-to-buy.component';
import { BuyerBothRequestsSuccessComponent } from './pages/manage-buyer-and-both-requests/buyer-both-requests-success/buyer-both-requests-success.component';
import { BuyerBothErrorComponent } from './pages/manage-buyer-and-both-requests/buyer-both-error/buyer-both-error.component';

const routes: Routes = [
{ path: '', redirectTo: 'home', pathMatch: 'full' },
Expand Down Expand Up @@ -692,6 +704,20 @@ const routes: Routes = [
canActivate: [AuthGuard, RoleGuard],
component: BuyerConfirmComponent,
},
{
path: 'update-org-type/confirm',
data: { title: 'Review - Manage Buyers', roles: ['MANAGE_SUBSCRIPTIONS'] },
pathMatch: 'full',
canActivate: [AuthGuard, RoleGuard],
component: UpdateOrgTypeComponent,
},
{
path: 'update-org-type/buyer-success/:id',
data: { title: 'Review - Manage Buyers', roles: ['MANAGE_SUBSCRIPTIONS'] },
pathMatch: 'full',
canActivate: [AuthGuard, RoleGuard],
component: AutoValidationBuyerSuccessComponent,
},
{
path: 'buyer/confirm-changes/:id',
data: {
Expand All @@ -702,6 +728,16 @@ const routes: Routes = [
canActivate: [AuthGuard, RoleGuard],
component: BuyerConfirmChangesComponent,
},
{
path: 'update-org-type/confirm-changes',
data: {
title: 'Confirm Changes - Manage Buyers',
roles: ['MANAGE_SUBSCRIPTIONS'],
},
pathMatch: 'full',
canActivate: [AuthGuard, RoleGuard],
component: ConfirmOrgTypeComponent,
},
{
path: 'buyer/error',
data: { title: 'Error - Manage Buyers', roles: ['MANAGE_SUBSCRIPTIONS'] },
Expand Down Expand Up @@ -1009,6 +1045,71 @@ const routes: Routes = [
pathMatch: 'full',
component: DelegatedErrorComponent,
},
{
path: 'manage-buyer-both',
data: { title: 'Manage Buyer status Requests',roles: ['MANAGE_SUBSCRIPTIONS'] },
pathMatch: 'full',
canActivate: [AuthGuard, RoleGuard],
component: BuyerBothRequestsComponent,
},
{
path: 'confirm-decline',
data: { title: 'Decline right to buy status',
roles: ['MANAGE_SUBSCRIPTIONS'] },
pathMatch: 'full',
canActivate: [AuthGuard, RoleGuard],
component: ConfirmDeclineComponent,

},
{
path: 'confirm-accept',
data: { title: 'Approve right to buy status',roles: ['MANAGE_SUBSCRIPTIONS'] },
pathMatch: 'full',
canActivate: [AuthGuard, RoleGuard],
component: ConfirmAcceptComponent,
},
{
path: 'pending-verification',
data: { title: 'Manage Buyer status requests - View request',roles: ['MANAGE_SUBSCRIPTIONS'] },
pathMatch: 'full',
canActivate: [AuthGuard, RoleGuard],
component: ViewPendingVerificationComponent,
},
{
path: 'verified-organisations',
data: { title: 'Manage Buyer status requests - View Buyer status for the organisation' ,roles: ['MANAGE_SUBSCRIPTIONS']},
pathMatch: 'full',
canActivate: [AuthGuard, RoleGuard],
component: ViewVerifiedOrgComponent,
},
{
path: 'remove-right-to-buy',
data: { title: 'Remove right to buy status',roles: ['MANAGE_SUBSCRIPTIONS'] },
pathMatch: 'full',
canActivate: [AuthGuard, RoleGuard],
component: RemoveRightToBuyComponent,
},
{
path: 'remove-right-to-buy-success',
data: { title: 'Remove right to buy status – success',roles: ['MANAGE_SUBSCRIPTIONS'] },
pathMatch: 'full',
canActivate: [AuthGuard, RoleGuard],
component: SuccessRightToBuyComponent,
},
{
path: 'buyer-and-both-success',
pathMatch: 'full',
data: { roles: ['MANAGE_SUBSCRIPTIONS'] },
canActivate: [AuthGuard, RoleGuard],
component: BuyerBothRequestsSuccessComponent,
},
{
path: 'buyer-and-both-fail',
pathMatch: 'full',
data: { roles: ['MANAGE_SUBSCRIPTIONS'] },
canActivate: [AuthGuard, RoleGuard],
component: BuyerBothErrorComponent,
},
{
path: 'terms-of-use',
data: { title: 'Terms of Use' },
Expand Down
26 changes: 25 additions & 1 deletion src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,18 @@ import { DelegatedUserActivationComponent } from './pages/manage-delegated/landi
import { DelegatedOrganisationComponent } from './pages/manage-delegated/user/delegated-organisation/delegated-organisation.component';
import { TermsConditionsComponent } from './components/terms-conditions/terms-conditions.component';
import { ForgotPasswordErrorComponent } from './pages/forgot-password-error/forgot-password-error.component';
import { BuyerBothRequestsComponent } from './pages/manage-buyer-and-both-requests/buyer-both-requests/buyer-both-requests.component';
import { ConfirmDeclineComponent } from './pages/manage-buyer-and-both-requests/confirm-decline/confirm-decline.component';
import { BuyerBothRequestsSuccessComponent } from './pages/manage-buyer-and-both-requests/buyer-both-requests-success/buyer-both-requests-success.component';
import { ConfirmAcceptComponent } from './pages/manage-buyer-and-both-requests/confirm-accept/confirm-accept.component';
import { ViewPendingVerificationComponent } from './pages/manage-buyer-and-both-requests/view-pending-verification/view-pending-verification.component';
import { ViewVerifiedOrgComponent } from './pages/manage-buyer-and-both-requests/view-verified-org/view-verified-org.component';
import { RemoveRightToBuyComponent } from './pages/manage-buyer-and-both-requests/remove-right-to-buy/remove-right-to-buy.component';
import { SuccessRightToBuyComponent } from './pages/manage-buyer-and-both-requests/success-right-to-buy/success-right-to-buy.component';
import { UpdateOrgTypeComponent } from './pages/buyer/update-org-type/update-org-type.component';
import { ConfirmOrgTypeComponent } from './pages/buyer/confirm-org-type/confirm-org-type.component';
import { AutoValidationBuyerSuccessComponent } from './pages/buyer/auto-validation-buyer-success/auto-validation-buyer-success.component';
import { BuyerBothErrorComponent } from './pages/manage-buyer-and-both-requests/buyer-both-error/buyer-both-error.component';

export function HttpLoaderFactory(http: HttpClient) {
return new TranslateHttpLoader(http);
Expand Down Expand Up @@ -315,7 +327,19 @@ export function createTranslateLoader(http: HttpClient) {
DelegatedUserActivationComponent,
DelegatedOrganisationComponent,
TermsConditionsComponent,
ForgotPasswordErrorComponent
ForgotPasswordErrorComponent,
BuyerBothRequestsComponent,
ConfirmDeclineComponent,
BuyerBothRequestsSuccessComponent,
ConfirmAcceptComponent,
ViewPendingVerificationComponent,
ViewVerifiedOrgComponent,
RemoveRightToBuyComponent,
SuccessRightToBuyComponent,
UpdateOrgTypeComponent,
ConfirmOrgTypeComponent,
AutoValidationBuyerSuccessComponent,
BuyerBothErrorComponent
],
imports: [
// BrowserModule,
Expand Down
Loading