2018-07-25 21:01:58 +02:00
|
|
|
<div *ngIf="data.rank">
|
2018-10-02 12:16:51 +02:00
|
|
|
<img class="pull-left" src="resource/rank/{{data.rank._id}}.png" height="65">
|
2018-07-25 21:01:58 +02:00
|
|
|
<h4 style="text-align: center;height: 65px; padding-top: 20px;">
|
2018-10-02 12:16:51 +02:00
|
|
|
{{'public.list.users.headline' | translate}} {{'public.ranks.rank' | translate}} {{data.rank.name}}
|
2018-07-25 21:01:58 +02:00
|
|
|
</h4>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div *ngIf="data.decoration">
|
|
|
|
<img src="resource/decoration/{{data.decoration._id}}.png"
|
|
|
|
height="{{data.decoration.isMedal ? 65 : 32}}"
|
|
|
|
style="float:left;">
|
|
|
|
<h4 style="text-align: center;"
|
|
|
|
[style.height]="data.decoration.isMedal ? '65px' : 'inherit'"
|
|
|
|
[style.padding-top]="data.decoration.isMedal ? '20px' : 'inherit'">
|
2018-10-02 12:16:51 +02:00
|
|
|
{{'public.list.users.headline' | translate}} {{data.decoration.isMedal ? 'Orden' : 'Ordensband'}} : {{data.decoration.name}}
|
2018-07-25 21:01:58 +02:00
|
|
|
</h4>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<mat-nav-list *ngFor="let user of users">
|
|
|
|
<a mat-list-item (click)="selectUser(user)">
|
|
|
|
<span mat-line>
|
|
|
|
{{user.username}}
|
|
|
|
</span>
|
|
|
|
<span mat-line [style.color]="user.squadId.fraction === 'BLUFOR' ? fraction.COLOR_BLUFOR :fraction.COLOR_OPFOR">
|
2018-10-02 12:16:51 +02:00
|
|
|
{{user.squadId.fraction === 'BLUFOR' ? fraction.BLUFOR : fraction.OPFOR}} - {{user.squadId.name}}
|
2018-07-25 21:01:58 +02:00
|
|
|
</span>
|
|
|
|
</a>
|
|
|
|
</mat-nav-list>
|