Skip to content

Commit f79f81d

Browse files
authored
[ENG-10684] Update Authenticated Identity section (#924)
* feat(settings): update authenticated identity section * style(settings): Update styles * refactor(settings): Update Authenticated Identity section
1 parent 9cf024f commit f79f81d

3 files changed

Lines changed: 13 additions & 11 deletions

File tree

src/app/features/settings/profile-settings/components/authenticated-identity/authenticated-identity.component.html

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,18 @@ <h2>
2222
</p-button>
2323
</div>
2424
} @else {
25-
<p-button
26-
class="w-6 md:w-auto"
27-
[label]="'settings.profileSettings.social.connectOrcid' | translate"
28-
severity="secondary"
29-
(onClick)="connectOrcid()"
30-
>
31-
</p-button>
32-
<p
33-
class="mt-2 text-sm text-gray-600"
34-
[innerHTML]="'settings.profileSettings.social.orcidDescription' | translate"
35-
></p>
25+
<img ngSrc="assets/images/integrations/orcid-logotype.png" width="130" height="40" alt="orcid" />
26+
<p class="mt-2" [innerHTML]="'settings.profileSettings.social.orcidDescription' | translate"></p>
27+
<p class="mt-2 font-bold">{{ 'settings.profileSettings.social.orcidWarning' | translate }}</p>
28+
<div class="mt-2">
29+
<p-button
30+
class="w-6 md:w-auto"
31+
[label]="'settings.profileSettings.social.connectOrcid' | translate"
32+
severity="secondary"
33+
(onClick)="connectOrcid()"
34+
>
35+
</p-button>
36+
</div>
3637
}
3738
</div>
3839
</div>

src/assets/i18n/en.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1851,6 +1851,7 @@
18511851
"connectOrcid": "Connect ORCID",
18521852
"disconnectOrcid": "Disconnect ORCID",
18531853
"orcidDescription": "Link your ORCID. ORCID is a free, unique, persistent identifier (PID) for individuals to use as they engage in research, scholarship, and innovation activities. Learn how ORCID can help you spend more time conducting your research and less time managing it. <a href='https://orcid.org/' target='_blank'>Learn more about ORCID.</a>",
1854+
"orcidWarning": "NOTE: Your OSF account email and ORCID email need to match to correctly link your ORCID to your OSF profile.",
18541855
"title": "Social Link {{index}}",
18551856
"successUpdate": "Social successfully updated.",
18561857
"labels": {
14.1 KB
Loading

0 commit comments

Comments
 (0)