| .. | .. |
|---|
| 40 | 40 | <span style="white-space: nowrap">{{value}}</span> |
|---|
| 41 | 41 | </div> |
|---|
| 42 | 42 | </template> |
|---|
| 43 | | - <template tdDataTableTemplate="status" let-row="row"> |
|---|
| 43 | + <template tdDataTableTemplate="status" let-row="row" let-value="value"> |
|---|
| 44 | 44 | <div layout="row" layout-align="start center"> |
|---|
| 45 | | - <md-icon [style.color]="licenses.getStatusColor(row.status)">brightness_1</md-icon> <span>{{licenses.getStatusName(row.status)}}</span> |
|---|
| 45 | + <md-chip selected [mdTooltip]="licenses.getStatusName(value)" [style.background-color]="licenses.getStatusColor(value)" >{{value}}</md-chip> |
|---|
| 46 | 46 | </div> |
|---|
| 47 | 47 | </template> |
|---|
| 48 | 48 | <template tdDataTableTemplate="email" let-row="row" let-value="value"> |
|---|
| .. | .. |
|---|
| 63 | 63 | <md-icon>more_vert</md-icon> |
|---|
| 64 | 64 | </button> |
|---|
| 65 | 65 | <md-menu #licenseMenu="mdMenu"> |
|---|
| 66 | | - <button md-menu-item *ngFor="let action of license_menu_options" (click)="licenseAction(action.command, row)" [disabled]="!isActionAvailable(row)"> |
|---|
| 66 | + <button md-menu-item *ngFor="let action of license_menu_options" (click)="licenseAction(action.command, row)" [disabled]="!isActionAvailable(action.command, row)"> |
|---|
| 67 | 67 | <md-icon *ngIf="!!action.icon">{{ action.icon }}</md-icon> {{ action.name }} |
|---|
| 68 | 68 | </button> |
|---|
| 69 | 69 | </md-menu> |
|---|
| .. | .. |
|---|
| 74 | 74 | <span i18n td-paging-bar-label hide-xs>Rows per page:</span> {{pagingBar.range}} <span hide-xs>of {{pagingBar.total}}</span> |
|---|
| 75 | 75 | </td-paging-bar> |
|---|
| 76 | 76 | </div> |
|---|
| 77 | | -</td-layout-card-over> |
|---|
| 77 | +</td-layout-card-over> |
|---|