opt-cc/static/src/app/manage/users/user-list/user-item.component.html

24 lines
1.0 KiB
HTML
Raw Normal View History

<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-sm-8">
2017-05-10 11:04:06 +02:00
<span>
2017-05-15 17:18:04 +02:00
<a>{{user.username}}</a>
2017-05-10 11:04:06 +02:00
</span>
<br>
2019-10-01 13:51:03 +02:00
<small *ngIf="user.squadId && user.squadId.fraction == 'OPFOR'">{{fraction.SWORD}} - {{user.squadId.name}}</small>
<small *ngIf="user.squadId && user.squadId.fraction == 'BLUFOR'">{{fraction.ARF}} - {{user.squadId.name}}
2017-11-08 19:40:51 +01:00
</small>
2018-10-04 10:33:15 +02:00
<small *ngIf="!user.squadId">{{'users.list.item.label.no.squad' | translate}}</small>
2017-05-10 11:04:06 +02:00
</div>
2017-05-13 14:57:40 +02:00
2017-08-12 23:13:39 +02:00
<div class="col-sm-4">
2018-10-04 10:33:15 +02:00
<mat-icon (click)="delete(); $event.stopPropagation()" matTooltip="{{'users.list.tooltip.delete' | translate}}"
*ngIf="loginService.hasPermission(3)"
2018-10-04 10:33:15 +02:00
class="pull-right" style="margin-top: 8px;" svgIcon="delete"></mat-icon>
<mat-icon (click)="award(); $event.stopPropagation()" matTooltip="{{'users.list.tooltip.awards' | translate}}"
class="icon-award pull-right" svgIcon="award"></mat-icon>
2017-05-13 14:57:40 +02:00
</div>
2017-05-10 11:04:06 +02:00
</div>
</div>