privacy.component.html 3.0KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. <div>
  2. <h2 id="page-heading">
  3. <span jhiTranslate="zipConnectApp.privacy.home.title">Privacies</span>
  4. <button id="jh-create-entity" class="btn btn-primary float-right jh-create-entity create-privacy" [routerLink]="['/privacy/new']">
  5. <fa-icon [icon]="'plus'"></fa-icon>
  6. <span jhiTranslate="zipConnectApp.privacy.home.createLabel">
  7. Create new Privacy
  8. </span>
  9. </button>
  10. </h2>
  11. <jhi-alert></jhi-alert>
  12. <br/>
  13. <div class="table-responsive" *ngIf="privacies">
  14. <table class="table table-striped">
  15. <thead>
  16. <tr>
  17. <th><span jhiTranslate="global.field.id">ID</span></th>
  18. <th><span jhiTranslate="zipConnectApp.privacy.privacyId">Privacy Id</span></th>
  19. <th><span jhiTranslate="zipConnectApp.privacy.publicView">Public View</span></th>
  20. <th><span jhiTranslate="zipConnectApp.privacy.cohortView">Cohort View</span></th>
  21. <th><span jhiTranslate="zipConnectApp.privacy.employerView">Employer View</span></th>
  22. <th></th>
  23. </tr>
  24. </thead>
  25. <tbody>
  26. <tr *ngFor="let privacy of privacies ;trackBy: trackId">
  27. <td><a [routerLink]="['/privacy', privacy.id, 'view' ]">{{privacy.id}}</a></td>
  28. <td>{{privacy.privacyId}}</td>
  29. <td>{{privacy.publicView}}</td>
  30. <td>{{privacy.cohortView}}</td>
  31. <td>{{privacy.employerView}}</td>
  32. <td class="text-right">
  33. <div class="btn-group flex-btn-group-container">
  34. <button type="submit"
  35. [routerLink]="['/privacy', privacy.id, 'view' ]"
  36. class="btn btn-info btn-sm">
  37. <fa-icon [icon]="'eye'"></fa-icon>
  38. <span class="d-none d-md-inline" jhiTranslate="entity.action.view">View</span>
  39. </button>
  40. <button type="submit"
  41. [routerLink]="['/privacy', privacy.id, 'edit']"
  42. class="btn btn-primary btn-sm">
  43. <fa-icon [icon]="'pencil-alt'"></fa-icon>
  44. <span class="d-none d-md-inline" jhiTranslate="entity.action.edit">Edit</span>
  45. </button>
  46. <button type="submit"
  47. [routerLink]="['/', { outlets: { popup: 'privacy/'+ privacy.id + '/delete'} }]"
  48. replaceUrl="true"
  49. queryParamsHandling="merge"
  50. class="btn btn-danger btn-sm">
  51. <fa-icon [icon]="'times'"></fa-icon>
  52. <span class="d-none d-md-inline" jhiTranslate="entity.action.delete">Delete</span>
  53. </button>
  54. </div>
  55. </td>
  56. </tr>
  57. </tbody>
  58. </table>
  59. </div>
  60. </div>