This commit is contained in:
CITE\amentis 2024-10-15 15:43:30 +03:00
parent e0e2c56792
commit 4a991c11e0
2 changed files with 7 additions and 1 deletions

View File

@ -245,9 +245,9 @@
<mat-menu #rankMenu="matMenu" xPosition="before"> <mat-menu #rankMenu="matMenu" xPosition="before">
<button mat-menu-item *ngFor='let evaluator of evaluatorService.availableEvaluatorsFor(evaluatorEntityTypeEnum.Plan)' <button mat-menu-item *ngFor='let evaluator of evaluatorService.availableEvaluatorsFor(evaluatorEntityTypeEnum.Plan)'
(click)="onEvaluatePlan(plan.id, evaluator.evaluatorId, evaluator.format, evaluator.rankConfig, isPublicView)"> (click)="onEvaluatePlan(plan.id, evaluator.evaluatorId, evaluator.format, evaluator.rankConfig, isPublicView)">
<span class="evaluator-id pr-2">{{ (evaluator.evaluatorId?.toUpperCase()) | translate }}</span>
<img *ngIf="evaluator.hasLogo" class="logo" [src]="logos.get(evaluator.evaluatorId)"> <img *ngIf="evaluator.hasLogo" class="logo" [src]="logos.get(evaluator.evaluatorId)">
<img *ngIf="!evaluator.hasLogo" class="logo" src="assets/images/repository-placeholder.png"> <img *ngIf="!evaluator.hasLogo" class="logo" src="assets/images/repository-placeholder.png">
<span class="evaluator-id pr-2">{{ (evaluator.evaluatorId?.toUpperCase()) | translate }}</span>
</button> </button>
</mat-menu> </mat-menu>

View File

@ -237,6 +237,12 @@
width: 100%; width: 100%;
} }
.logo {
margin-right: 16px;
max-width: 24px;
max-height: 24px;
}
// ********CENTER ELEMENTS******** // ********CENTER ELEMENTS********
.mat-mini-fab, .mat-mini-fab,