diff --git a/src/app/link-account/pages/link-account/link-account.component.ts b/src/app/link-account/pages/link-account/link-account.component.ts
index 1df92b9f3f..91cd6d6199 100644
--- a/src/app/link-account/pages/link-account/link-account.component.ts
+++ b/src/app/link-account/pages/link-account/link-account.component.ts
@@ -42,7 +42,7 @@ export class LinkAccountComponent implements OnInit {
this.signInData = session.thirdPartyAuthData.signinData
this.entityDisplayName = session.thirdPartyAuthData.entityDisplayName
if (!this.entityDisplayName) {
- this.entityDisplayName = this.signInData.providerId;
+ this.entityDisplayName = this.signInData.providerId
}
this.loading = false
})
diff --git a/src/app/trusted-summary/component/summary-panel/summary-panel.component.html b/src/app/trusted-summary/component/summary-panel/summary-panel.component.html
index 7b85790e68..e1b04b470b 100644
--- a/src/app/trusted-summary/component/summary-panel/summary-panel.component.html
+++ b/src/app/trusted-summary/component/summary-panel/summary-panel.component.html
@@ -94,7 +94,9 @@
{{ activity.role }}
- {{ activity.type }}
+
+ {{ activity.type | affiliationTypeLabel | lowercase }}
+
@@ -105,7 +107,10 @@
target="_blank"
rel="noopener noreferrer"
>+ {{ count - 3 }}
- more
+ {{
+ moreLabelSingular
+ }}
+ 1">{{ moreLabel }}
+
diff --git a/src/app/trusted-summary/component/summary-panel/summary-panel.component.scss b/src/app/trusted-summary/component/summary-panel/summary-panel.component.scss
index 36be12373c..8d5f53b2e1 100644
--- a/src/app/trusted-summary/component/summary-panel/summary-panel.component.scss
+++ b/src/app/trusted-summary/component/summary-panel/summary-panel.component.scss
@@ -30,14 +30,17 @@
.header {
display: flex;
flex-direction: row;
- align-items: center;
+ align-items: initial;
justify-content: space-between;
.header-title {
display: flex;
- align-items: center;
+ align-items: initial;
+ max-width: 100%;
h3 {
+ overflow: hidden;
+ word-wrap: break-word;
font-weight: 400;
margin: 0;
@@ -69,8 +72,14 @@ mat-icon.margin-compensation {
}
mat-icon {
- min-width: 22px;
+ min-width: 25px;
margin-inline-end: 3px;
+ margin-top: -3px;
+
+ img {
+ margin-top: 2px;
+ display: block;
+ }
}
a {
diff --git a/src/app/trusted-summary/component/summary-panel/summary-panel.component.ts b/src/app/trusted-summary/component/summary-panel/summary-panel.component.ts
index 93e0381bb3..8e61e8aa29 100644
--- a/src/app/trusted-summary/component/summary-panel/summary-panel.component.ts
+++ b/src/app/trusted-summary/component/summary-panel/summary-panel.component.ts
@@ -9,6 +9,7 @@ import { ActivitySummary } from 'src/app/types/trust-summary'
'./summary-panel.component.scss',
'./summary-panel.component.scss-theme.scss',
],
+ preserveWhitespaces: true,
})
export class SummaryPanelComponent implements OnInit {
validatedSourceAriaLabel = $localize`:@@summary.validatedSource:Validated source`
@@ -16,6 +17,8 @@ export class SummaryPanelComponent implements OnInit {
@Input() activitySummary: ActivitySummary[]
@Input() url: string = ''
@Input() count: number = 0
+ @Input() moreLabel: string = ''
+ @Input() moreLabelSingular: string = ''
activitiesToDisplay: ActivitySummary[]
acitivityCountOverflow: boolean
unsubscribe = new Subject()
@@ -27,7 +30,7 @@ export class SummaryPanelComponent implements OnInit {
ngOnInit(): void {
if (this.activitySummary) {
- this.activitySummary = [...this.activitySummary, ...this.activitySummary]
+ this.activitySummary = [...this.activitySummary]
this.activitiesToDisplay = this.activitySummary.slice(0, 3)
this.acitivityCountOverflow = this.count > 3
diff --git a/src/app/trusted-summary/component/summary-simple-panel/summary-simple-panel.component.html b/src/app/trusted-summary/component/summary-simple-panel/summary-simple-panel.component.html
index 10b578f25c..c1359a04fe 100644
--- a/src/app/trusted-summary/component/summary-simple-panel/summary-simple-panel.component.html
+++ b/src/app/trusted-summary/component/summary-simple-panel/summary-simple-panel.component.html
@@ -22,7 +22,7 @@
>
-
+
+ {{ count - 3 }} more Affiliations+ {{ count - 3 }}
+ 1">{{ moreLabel }}
+ {{
+ moreLabelSingular
+ }}
diff --git a/src/app/trusted-summary/component/summary-simple-panel/summary-simple-panel.component.scss b/src/app/trusted-summary/component/summary-simple-panel/summary-simple-panel.component.scss
index 607ba86870..8042ae930f 100644
--- a/src/app/trusted-summary/component/summary-simple-panel/summary-simple-panel.component.scss
+++ b/src/app/trusted-summary/component/summary-simple-panel/summary-simple-panel.component.scss
@@ -24,13 +24,16 @@
flex-direction: row;
align-items: center;
justify-content: space-between;
+ max-width: 100%;
.header-title {
+ max-width: 100%;
display: flex;
- align-items: center;
+ align-items: initial;
h3 {
margin: 0;
+ overflow: hidden;
}
}
@@ -59,9 +62,22 @@ mat-icon.margin-compensation {
mat-icon {
min-width: 25px;
- margin-inline-end: 8px;
+ margin-inline-end: 3px;
+ margin-top: -3px;
+
+ img {
+ margin-top: 2px;
+ display: block;
+ }
}
a {
font-weight: 400;
+ max-width: 100%;
+}
+
+.text-container {
+ max-width: 210px;
+ overflow: hidden;
+ word-wrap: break-word;
}
diff --git a/src/app/trusted-summary/component/summary-simple-panel/summary-simple-panel.component.ts b/src/app/trusted-summary/component/summary-simple-panel/summary-simple-panel.component.ts
index 9cd5442836..93203cc209 100644
--- a/src/app/trusted-summary/component/summary-simple-panel/summary-simple-panel.component.ts
+++ b/src/app/trusted-summary/component/summary-simple-panel/summary-simple-panel.component.ts
@@ -26,6 +26,9 @@ export class SummarySimplePanelComponent implements OnInit {
selftAssertedSource = $localize`:@@summary.selfAssertedSource:Self-asserted source`
@Input() simpleActivities: SimpleActivityModel[] = []
@Input() count: number = 0
+ @Input() moreLabel: string = ''
+ @Input() moreLabelSingular: string = ''
+
@Input() overflowUrl: string = ''
unsubscribe = new Subject()
mobile: boolean
diff --git a/src/app/trusted-summary/pages/trusted-summary/trusted-summary.component.html b/src/app/trusted-summary/pages/trusted-summary/trusted-summary.component.html
index 18675e8b3b..13484aeeda 100644
--- a/src/app/trusted-summary/pages/trusted-summary/trusted-summary.component.html
+++ b/src/app/trusted-summary/pages/trusted-summary/trusted-summary.component.html
@@ -4,6 +4,7 @@
[ngClass]="{
mobile: mobile
}"
+ [ngClass]="insideIframe ? 'inside-iframe' : ''"
>