-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
21 changed files
with
464 additions
and
1,095 deletions.
There are no files selected for viewing
429 changes: 135 additions & 294 deletions
429
src/app/authorize/components/form-authorize/form-authorize.component.html
Large diffs are not rendered by default.
Oops, something went wrong.
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
15 changes: 3 additions & 12 deletions
15
src/app/authorize/pages/authorize/authorize.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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,25 @@ | ||
<ng-container *ngIf="!signInUpdatesV1Togglz"> | ||
<div | ||
class="university-dropdown orc-font-body-large" | ||
[ngClass]="{ active: show }" | ||
<div class="row"> | ||
<b class="orc-font-body m-b-8"> | ||
{{ name }} | ||
</b> | ||
</div> | ||
<div class="row"> | ||
<a | ||
class="underline" | ||
[ngClass]="{ 'm-b-16': show }" | ||
(click)="show = !show" | ||
[attr.aria-label]=" | ||
(!show ? ariaLabelShowDetailsFor : ariaLabelHideDetailsFor) + ' ' + name | ||
" | ||
> | ||
<a class="mat-body-2 black-underline-url body-2 black-url" id="app-name"> | ||
{{ name }} | ||
</a> | ||
<mat-icon class="large-material-icon" role="presentation">help</mat-icon> | ||
</div> | ||
|
||
<div class="description-container" *ngIf="show"> | ||
{{ description }} | ||
</div> | ||
</ng-container> | ||
|
||
<ng-container *ngIf="signInUpdatesV1Togglz"> | ||
<div class="row"> | ||
<b class="orc-font-body m-b-8"> | ||
{{ name }} | ||
</b> | ||
</div> | ||
<div class="row"> | ||
<a | ||
class="underline" | ||
[ngClass]="{ 'm-b-16': show }" | ||
(click)="show = !show" | ||
[attr.aria-label]=" | ||
(!show ? ariaLabelShowDetailsFor : ariaLabelHideDetailsFor) + ' ' + name | ||
" | ||
<ng-container i18n="@@shared.showDetails" *ngIf="!show" | ||
>Show details</ng-container | ||
> | ||
<ng-container i18n="@@shared.showDetails" *ngIf="!show" | ||
>Show details</ng-container | ||
> | ||
<ng-container i18n="@@shared.hideDetails" *ngIf="show" | ||
>Hide details</ng-container | ||
> | ||
</a> | ||
</div> | ||
<div class="description-container description-client" *ngIf="show"> | ||
{{ description }} | ||
</div> | ||
</ng-container> | ||
<ng-container i18n="@@shared.hideDetails" *ngIf="show" | ||
>Hide details</ng-container | ||
> | ||
</a> | ||
</div> | ||
<div class="description-container description-client" *ngIf="show"> | ||
{{ description }} | ||
</div> |
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
139 changes: 57 additions & 82 deletions
139
src/app/cdk/my-orcid-alerts/my-orcid-alerts.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 |
---|---|---|
@@ -1,91 +1,66 @@ | ||
<ng-container *ngIf="!signInUpdatesV1Togglz"> | ||
<mat-toolbar> | ||
<mat-toolbar-row> | ||
<div role="alert" aria-label="polite"> | ||
<p class="mat-body-2"> | ||
<ng-container | ||
i18n="@@myOrcidAlerts.invalidVerifyUrl" | ||
*ngIf="invalidVerifyUrl" | ||
> | ||
Your email couldn't be verified, please check the link you used to | ||
verify it. | ||
</ng-container> | ||
<ng-container | ||
i18n="@@myOrcidAlerts.emailVerified" | ||
*ngIf="emailVerified" | ||
> | ||
Thank you for verifying your email | ||
</ng-container> | ||
</p> | ||
</div> | ||
</mat-toolbar-row> | ||
</mat-toolbar> | ||
</ng-container> | ||
<ng-container *ngIf="signInUpdatesV1Togglz"> | ||
<ng-container *ngIf="emailVerified || invalidVerifyUrl"> | ||
<div | ||
role="alert" | ||
aria-labelledby="dialogTitle" | ||
aria-describedby="dialogDescription" | ||
[ngClass]="{ | ||
verification: emailVerified, | ||
invalid: invalidVerifyUrl | ||
}" | ||
> | ||
<ng-container *ngIf="emailVerified || invalidVerifyUrl"> | ||
<div | ||
role="alert" | ||
aria-labelledby="dialogTitle" | ||
aria-describedby="dialogDescription" | ||
[ngClass]="{ | ||
verification: emailVerified, | ||
invalid: invalidVerifyUrl | ||
}" | ||
> | ||
<div> | ||
<mat-icon class="large-material-icon material-symbols-outlined"> | ||
<ng-container *ngIf="emailVerified">check_circle</ng-container> | ||
<ng-container *ngIf="invalidVerifyUrl">warning</ng-container> | ||
</mat-icon> | ||
</div> | ||
<div class="content"> | ||
<div> | ||
<mat-icon class="large-material-icon material-symbols-outlined"> | ||
<ng-container *ngIf="emailVerified">check_circle</ng-container> | ||
<ng-container *ngIf="invalidVerifyUrl">warning</ng-container> | ||
</mat-icon> | ||
<b id="dialogTitle" i18n="@@ngOrcid.signin.almostDone"> | ||
Almost done! | ||
</b> | ||
</div> | ||
<div class="content"> | ||
<div> | ||
<b id="dialogTitle" i18n="@@ngOrcid.signin.almostDone"> | ||
Almost done! | ||
</b> | ||
</div> | ||
<div id="dialogDescription"> | ||
<ng-container | ||
i18n="@@ngOrcid.signin.signInToComplete" | ||
*ngIf="emailVerified" | ||
> | ||
Sign in to complete your email verification | ||
</ng-container> | ||
<ng-container | ||
i18n="@@myOrcidAlerts.invalidVerifyUrl" | ||
*ngIf="invalidVerifyUrl" | ||
> | ||
Your email couldn't be verified, please check the link you used to | ||
verify it. | ||
</ng-container> | ||
</div> | ||
<div id="dialogDescription"> | ||
<ng-container | ||
i18n="@@ngOrcid.signin.signInToComplete" | ||
*ngIf="emailVerified" | ||
> | ||
Sign in to complete your email verification | ||
</ng-container> | ||
<ng-container | ||
i18n="@@myOrcidAlerts.invalidVerifyUrl" | ||
*ngIf="invalidVerifyUrl" | ||
> | ||
Your email couldn't be verified, please check the link you used to | ||
verify it. | ||
</ng-container> | ||
</div> | ||
</div> | ||
</ng-container> | ||
<ng-container *ngIf="printError && badCredentials"> | ||
<div | ||
class="invalid" | ||
role="dialog" | ||
aria-live="polite" | ||
aria-labelledby="dialogTitle" | ||
aria-describedby="dialogDescription" | ||
> | ||
</div> | ||
</ng-container> | ||
<ng-container *ngIf="printError && badCredentials"> | ||
<div | ||
class="invalid" | ||
role="dialog" | ||
aria-live="polite" | ||
aria-labelledby="dialogTitle" | ||
aria-describedby="dialogDescription" | ||
> | ||
<div> | ||
<mat-icon class="large-material-icon material-symbols-outlined" | ||
>warning</mat-icon | ||
> | ||
</div> | ||
<div class="content"> | ||
<div> | ||
<mat-icon class="large-material-icon material-symbols-outlined" | ||
>warning</mat-icon | ||
> | ||
<b id="dialogTitle" i18n="@@ngOrcid.signin.somethingNotQuiteRight"> | ||
Something's not quite right... | ||
</b> | ||
</div> | ||
<div class="content"> | ||
<div> | ||
<b id="dialogTitle" i18n="@@ngOrcid.signin.somethingNotQuiteRight"> | ||
Something's not quite right... | ||
</b> | ||
</div> | ||
<div id="dialogDescription" i18n="@@ngOrcid.signin.checkYourSignIn"> | ||
Please check that your sign in details are correct and then try | ||
signing in again. | ||
</div> | ||
<div id="dialogDescription" i18n="@@ngOrcid.signin.checkYourSignIn"> | ||
Please check that your sign in details are correct and then try signing | ||
in again. | ||
</div> | ||
</div> | ||
</ng-container> | ||
</div> | ||
</ng-container> |
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
5 changes: 1 addition & 4 deletions
5
src/app/cdk/trusted-individuals-dropdown/trusted-individuals-dropdown.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
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.