Skip to content

Commit

Permalink
Merge branch 'lmendoza/24-sep-bach-fixes' of github.com:ORCID/orcid-a…
Browse files Browse the repository at this point in the history
…ngular into lmendoza/24-sep-bach-fixes
  • Loading branch information
leomendoza123 committed Sep 25, 2024
2 parents 3389c1a + 3eacd06 commit dc481d0
Show file tree
Hide file tree
Showing 9 changed files with 32 additions and 11 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## v2.105.5 - 2024-09-25

[Full Changelog](https://github.com/ORCID/orcid-angular/compare/v2.105.4...v2.105.5)

- [#2353](https://github.com/ORCID/orcid-angular/pull/2353): 24-sep-bach-fixes

## v2.105.4 - 2024-09-24

[Full Changelog](https://github.com/ORCID/orcid-angular/compare/v2.105.3...v2.105.4)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ export class SummarySimplePanelComponent implements OnInit {
constructor(@Inject(WINDOW) private _window: Window) {}

ngOnInit(): void {
this.acitivityCountOverflow = this.simpleActivities.length > 3 || this.count > 3
this.acitivityCountOverflow =
this.simpleActivities.length > 3 || this.count > 3
this.simpleActivities = this.simpleActivities.slice(0, 3)
}
goToUrl(url?: string, event?: KeyboardEvent) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ <h1 class="orc-font-body-large">
'panel-body-3-cols': !mobile
}"
>

<div
class="column"
[ngClass]="{ 'column-border': !mobile && (twoColumns || threeColumns) }"
Expand Down Expand Up @@ -226,7 +225,12 @@ <h3 class="orc-font-small-print" i18n="@@summary.keyDates">
<div
class="column"
[ngClass]="{ 'column-border': !mobile && threeColumns }"
*ngIf="peerReviews?.length || works?.length || funds?.length || researchResoruces?.length"
*ngIf="
peerReviews?.length ||
works?.length ||
funds?.length ||
researchResoruces?.length
"
>
<ng-container *ngIf="works?.length">
<a
Expand Down Expand Up @@ -335,7 +339,7 @@ <h3 class="orc-font-small-print" i18n="@@summary.keyDates">
class="column"
*ngIf="
trustedSummary.professionalActivities?.length ||
externalIdentifiers?.length ||
externalIdentifiers?.length ||
trustedSummary.educationQualifications?.length
"
>
Expand Down Expand Up @@ -396,8 +400,8 @@ <h3 class="orc-font-small-print" i18n="@@summary.keyDates">
[url]="trustedSummary?.orcid + '#education-and-qualification'"
[activitySummary]="trustedSummary.educationQualifications"
[count]="trustedSummary.educationQualificationsCount"
[moreLabel]="labelViewEducationQualificationsActivities"
[moreLabelSingular]="labelViewEducationQualificationsActivitie"
[moreLabel]="labelMoreEducationQualifications"
[moreLabelSingular]="labelMoreEducationQualification"
[ariaLabelActivitySection]="ariaLabelEducationQualificationsActions"
[standaloneMode]="standaloneMode"
[activitySection]="'education-and-qualification'"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ export class TrustedSummaryComponent implements OnInit, OnDestroy {
labelMoreAffiliation = $localize`:@@summary.moreAffiliation:more Affiliation`
labelMoreProfessionalActivitie = $localize`:@@summary.moreProfessionalActivitie:more Professional activity`
labelMoreOtherIdentifier = $localize`:@@summary.moreOtherIdentifier:more Other Identifier`
labelMoreEducationQualifications = $localize`:@@summary.moreEducationQualifications:more Education and Qualifications`
labelMoreEducationQualification = $localize`:@@summary.moreEducationQualification:more Education and Qualification`
labelEmailDomains = $localize`:@@summary.emailDomainsLabel:Email Domains`
labelOrcidRecord = $localize`:@@public-layout.my_orcid:ORCID Record`
labelViewAffiliations = $localize`:@@summary.viewAffiliations:View all affiliations in`
Expand All @@ -88,8 +90,8 @@ export class TrustedSummaryComponent implements OnInit, OnDestroy {
labelViewPeerReviews = $localize`:@@summary.viewPeerReviews:View all peer reviews in`
labelViewProfessionalActivities = $localize`:@@summary.viewProfessionalActivities:View all professional activities in`
labelViewIdentifiers = $localize`:@@summary.viewIdentifiers:View all identifiers in`
labelViewEducationQualificationsActivities = $localize`:@@summary.viewEducationQualificationsActivities:More education qualification activities`
labelViewEducationQualificationsActivitie = $localize`:@@summary.viewEducationQualificationsActivitie:More education qualification activity`
labelViewEducationQualificationsActivities = $localize`:@@summary.viewEducationQualificationsActivities:View all education and qualifications in`
labelViewEducationQualificationsActivitie = $localize`:@@summary.viewEducationQualificationsActivitie:View education and qualification in`
labelViewDomain = $localize`:@@summary.viewDomain:View all email domains in`

funds: SimpleActivityModel[] = []
Expand Down
2 changes: 1 addition & 1 deletion src/app/record/pages/my-orcid/my-orcid.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ export class MyOrcidComponent implements OnInit, OnDestroy {
'professional-activities',
'research-resources',
'emails-panel',
'education-and-qualification'
'education-and-qualification',
].find((x) => x === this.fragment)
) {
setTimeout(() => {
Expand Down
6 changes: 4 additions & 2 deletions src/locale/properties/summary/summary.en.properties
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ summary.moreEmailDomains=more Email Domains
summary.moreEmailDomain=more Email Domain
summary.emailDomainsLabel=Email Domains
summary.viewResearchResources=View all research and resources in
summary.viewEducationQualificationsActivities=More education qualification activities
summary.viewEducationQualificationsActivitie=More education qualification activity
summary.viewEducationQualificationsActivities=View all education and qualifications in
summary.viewEducationQualificationsActivitie=View education and qualification in
summary.moreEducationQualifications=more Education and Qualifications
summary.moreEducationQualification=more Education and Qualification
summary.viewDomain=View all email domains in
2 changes: 2 additions & 0 deletions src/locale/properties/summary/summary.lr.properties
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,5 @@ summary.viewResearchResources=LR
summary.viewEducationQualificationsActivities=LR
summary.viewEducationQualificationsActivitie=LR
summary.viewDomain=LR
summary.moreEducationQualifications=LR
summary.moreEducationQualification=LR
2 changes: 2 additions & 0 deletions src/locale/properties/summary/summary.rl.properties
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,5 @@ summary.viewResearchResources=RL
summary.viewEducationQualificationsActivities=RL
summary.viewEducationQualificationsActivitie=RL
summary.viewDomain=RL
summary.moreEducationQualifications=RL
summary.moreEducationQualification=RL
2 changes: 2 additions & 0 deletions src/locale/properties/summary/summary.xx.properties
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,5 @@ summary.viewResearchResources=X
summary.viewEducationQualificationsActivities=X
summary.viewEducationQualificationsActivitie=X
summary.viewDomain=X
summary.moreEducationQualifications=X
summary.moreEducationQualification=X

0 comments on commit dc481d0

Please sign in to comment.