Advertisement
Guest User

Untitled

a guest
Sep 26th, 2016
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <tr *ngFor="let device of devices | async">
  2.       <td ><a [routerLink]="['/device/edit/' + device.id ]">{{device.authenticationKey}}</a></td>
  3.       <td>{{device.description}}</td>
  4.       <td><span class="label" [class.label-success]="device.activated" [class.label-danger]="!device.activated">{{device.activated}}</span></td>
  5.       <td><a [routerLink]="['/device-type/edit/' + device.pageId ]">{{this.getDeviceTypeTextByID(device.pageId)}}</a></td>
  6.       <td align="right">
  7.         <button class="btn btn-primary" [routerLink]="['/device/edit/' + device.id ]">
  8.           <span class="icon icon-edit">{{"lists.edit"|translate}}</span>
  9.         </button>
  10.         <button class="btn btn-primary" (click)="modal.showModal('Are you sure?', 'Delete ' + device.authenticationKey + ' device', true, device)">
  11.           <span class="icon icon-erase">{{"lists.delete"|translate}}</span>
  12.         </button>
  13.       </td>
  14.     </tr>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement