refs #1858. Added description into deployImage selector
testing/ogGui-multibranch/pipeline/head There was a failure building this commit Details

pull/19/head
Manuel Aranda Rosales 2025-04-08 15:57:42 +02:00
parent eac4b0a948
commit 380cf50080
2 changed files with 8 additions and 2 deletions

View File

@ -50,6 +50,10 @@ table {
margin-top: 20px;
}
mat-option .unit-name {
display: block;
}
.input-field {
flex: 1 1 calc(33.33% - 16px);
min-width: 250px;

View File

@ -71,9 +71,11 @@
<mat-form-field appearance="fill" class="full-width">
<mat-label>Seleccione imagen</mat-label>
<mat-select [(ngModel)]="selectedImage" name="selectedImage">
<mat-option *ngFor="let image of images" [value]="image">{{ image.image?.name }}</mat-option>
<mat-option *ngFor="let image of images" [value]="image">
<div class="unit-name"> {{ image.image?.name }} v{{ image.version?? 0 }}</div>
<div style="font-size: smaller; color: gray;">{{ image.description }}</div>
</mat-option>
</mat-select>
<mat-hint *ngIf="clientData">Imágenes alojadas en {{ clientData[0].repository?.name }}</mat-hint>
</mat-form-field>
<mat-form-field appearance="fill" class="full-width">