Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

9395-qa-all-activity-items-have-space-for-a-type-icon #2349

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -30,21 +30,23 @@
[panelTitle]="affiliation.affiliationName.value"
>
<div class="affiliation-title" header>
<mat-icon
class="material-icons-outlined"
*ngIf="type === 'invited-position'"
>join_inner</mat-icon
>
<mat-icon class="material-icons-outlined" *ngIf="type === 'distinction'"
>stars</mat-icon
>
<mat-icon class="material-icons-outlined" *ngIf="type === 'membership'"
>card_membership</mat-icon
>
<mat-icon class="material-icons-outlined" *ngIf="type === 'service'"
>badge</mat-icon
>
<div class="vl"></div>
<ng-container *ngIf="professionalActivities">
<mat-icon
class="material-icons-outlined"
*ngIf="type === 'invited-position'"
>join_inner</mat-icon
>
<mat-icon class="material-icons-outlined" *ngIf="type === 'distinction'"
>stars</mat-icon
>
<mat-icon class="material-icons-outlined" *ngIf="type === 'membership'"
>card_membership</mat-icon
>
<mat-icon class="material-icons-outlined" *ngIf="type === 'service'"
>badge</mat-icon
>
<div class="vl"></div>
</ng-container>
<h4
class="orc-font-body"
[ngClass]="{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ export class AffiliationStackComponent implements OnInit, OnDestroy {
@Input() isPublicRecord: string = null
@Input() type: AffiliationType
hasExternalIdentifiers: boolean
@Input() professionalActivities: boolean
@Input()
set affiliationStack(value: AffiliationGroup) {
this.hasExternalIdentifiers = !!value.externalIdentifiers.length
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@
[affiliationStack]="affiliationGroup"
[type]="affiliationGroup.affiliationType | affiliationType"
[userInfo]="userInfo"
[professionalActivities]="true"
></app-affiliation-stack>
</ng-container>
<ng-container
Expand Down
Loading