2017-05-17 15:55:22 +02:00
|
|
|
<div class="fade-in list-entry" [ngClass]="{selected : selected}" (click)="select()">
|
2017-05-10 11:04:06 +02:00
|
|
|
|
|
|
|
<div class="row">
|
2017-08-12 23:13:39 +02:00
|
|
|
<div class="col-xs-8">
|
2017-05-10 11:04:06 +02:00
|
|
|
<span>
|
|
|
|
<a>{{decoration.name}}</a>
|
|
|
|
</span>
|
|
|
|
<br>
|
2019-10-01 13:51:03 +02:00
|
|
|
<small *ngIf="decoration.fraction == 'ARF'">{{fraction.ARF}}</small>
|
|
|
|
<small *ngIf="decoration.fraction == 'SWORD'">{{fraction.SWORD}}</small>
|
2017-11-08 19:23:15 +01:00
|
|
|
<small *ngIf="decoration.fraction == 'OPFOR'">{{fraction.OPFOR}}</small>
|
|
|
|
<small *ngIf="decoration.fraction == 'BLUFOR'">{{fraction.BLUFOR}}</small>
|
2018-10-04 11:48:22 +02:00
|
|
|
<small *ngIf="decoration.fraction == 'GLOBAL'">{{'decorations.list.filter.global' | translate}}</small>
|
2018-10-05 10:21:50 +02:00
|
|
|
<small> {{'decorations.item.label.sort' | translate:{value: decoration.sortingNumber} }}</small>
|
2017-05-10 11:04:06 +02:00
|
|
|
</div>
|
2017-05-16 20:06:00 +02:00
|
|
|
|
2017-08-12 23:13:39 +02:00
|
|
|
<div class="col-xs-4">
|
2017-05-16 23:51:03 +02:00
|
|
|
<img src="{{imageSrc}}"
|
|
|
|
[style.max-height]="imgStyle.height"
|
|
|
|
[style.max-width]="imgStyle.width"
|
|
|
|
[style.margin-top]="imgStyle.marginTop"
|
|
|
|
class="decoration-list-preview">
|
2018-10-04 11:48:22 +02:00
|
|
|
<span (click)="delete(); $event.stopPropagation()" matTooltip="{{'decorations.list.button.delete' | translate}}"
|
|
|
|
class="glyphicon glyphicon-trash trash"></span>
|
2017-05-16 20:06:00 +02:00
|
|
|
</div>
|
2017-05-10 11:04:06 +02:00
|
|
|
</div>
|
|
|
|
</div>
|