-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PRIME-2571 Allow multiple authorized users to update HA sites (#2452)
* initial commit * fix unit test * bug fix * update modal text as requested * Update IHealthAuthoritySiteService.cs * add disabled page for disabled authorized user * add comment as requested * update modal text * initial commit * Revert "initial commit" This reverts commit 2fea9e5. * update event log text * more changes * update text * fix PR issues * fix PR issues * more change * Minor corrections * fix typo * fix PR issues --------- Co-authored-by: Alan Leung <[email protected]>
- Loading branch information
1 parent
adb88bf
commit a8c19aa
Showing
39 changed files
with
18,756 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
...site-reg/pages/authorized-user-disabled-page/authorized-user-disabled-page.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<app-page> | ||
|
||
<app-page-header>PharmaNet Site Registration</app-page-header> | ||
|
||
<app-progress-indicator message="Access Declined"></app-progress-indicator> | ||
|
||
<div class="mb-5"> | ||
<app-alert type="danger" | ||
icon="error_outline"> | ||
<ng-container #alertTitle | ||
class="alert-title"> | ||
You have been disabled. | ||
</ng-container> | ||
</app-alert> | ||
</div> | ||
|
||
<app-page-subheader2> | ||
<ng-container appPageSubheaderTitle>Next Steps</ng-container> | ||
</app-page-subheader2> | ||
|
||
<p> | ||
If you have questions regarding your account, please contact us. | ||
</p> | ||
|
||
</app-page> |
4 changes: 4 additions & 0 deletions
4
...site-reg/pages/authorized-user-disabled-page/authorized-user-disabled-page.component.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
.icon { | ||
// Page refreshes cause mat-icon to take precendence | ||
font-size: 3rem !important; | ||
} |
27 changes: 27 additions & 0 deletions
27
...e-reg/pages/authorized-user-disabled-page/authorized-user-disabled-page.component.spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core'; | ||
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; | ||
|
||
import { AuthorizedUserDisabledPageComponent } from './authorized-user-disabled-page.component'; | ||
|
||
describe('AuthorizedUserDisabledPageComponent', () => { | ||
let component: AuthorizedUserDisabledPageComponent; | ||
let fixture: ComponentFixture<AuthorizedUserDisabledPageComponent>; | ||
|
||
beforeEach(waitForAsync(() => { | ||
TestBed.configureTestingModule({ | ||
declarations: [AuthorizedUserDisabledPageComponent], | ||
schemas: [CUSTOM_ELEMENTS_SCHEMA] | ||
}) | ||
.compileComponents(); | ||
})); | ||
|
||
beforeEach(() => { | ||
fixture = TestBed.createComponent(AuthorizedUserDisabledPageComponent); | ||
component = fixture.componentInstance; | ||
fixture.detectChanges(); | ||
}); | ||
|
||
it('should create', () => { | ||
expect(component).toBeTruthy(); | ||
}); | ||
}); |
12 changes: 12 additions & 0 deletions
12
...h-site-reg/pages/authorized-user-disabled-page/authorized-user-disabled-page.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { Component, OnInit } from '@angular/core'; | ||
|
||
@Component({ | ||
selector: 'app-authorized-user-disabled-page', | ||
templateUrl: './authorized-user-disabled-page.component.html', | ||
styleUrls: ['./authorized-user-disabled-page.component.scss'] | ||
}) | ||
export class AuthorizedUserDisabledPageComponent implements OnInit { | ||
constructor() { } | ||
|
||
public ngOnInit(): void { } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.