user-profile-detail.component.html 3.2KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. <div class="row justify-content-center">
  2. <div class="col-8">
  3. <div *ngIf="userProfile">
  4. <h2><span jhiTranslate="zipConnectApp.userProfile.detail.title">User Profile</span> {{userProfile.id}}</h2>
  5. <hr>
  6. <jhi-alert-error></jhi-alert-error>
  7. <dl class="row-md jh-entity-details">
  8. <dt><span jhiTranslate="zipConnectApp.userProfile.profileId">Profile Id</span></dt>
  9. <dd>
  10. <span>{{userProfile.profileId}}</span>
  11. </dd>
  12. <dt><span jhiTranslate="zipConnectApp.userProfile.firstName">First Name</span></dt>
  13. <dd>
  14. <span>{{userProfile.firstName}}</span>
  15. </dd>
  16. <dt><span jhiTranslate="zipConnectApp.userProfile.lastName">Last Name</span></dt>
  17. <dd>
  18. <span>{{userProfile.lastName}}</span>
  19. </dd>
  20. <dt><span jhiTranslate="zipConnectApp.userProfile.userStack">User Stack</span></dt>
  21. <dd>
  22. <span>{{userProfile.userStack}}</span>
  23. </dd>
  24. <dt><span jhiTranslate="zipConnectApp.userProfile.user">User</span></dt>
  25. <dd>
  26. {{userProfile.user?.id}}
  27. </dd>
  28. <dt><span jhiTranslate="zipConnectApp.userProfile.cohort">Cohort</span></dt>
  29. <dd>
  30. <div *ngIf="userProfile.cohort">
  31. <a [routerLink]="['/cohort', userProfile.cohort?.id, 'view']">{{userProfile.cohort?.id}}</a>
  32. </div>
  33. </dd>
  34. <dt><span jhiTranslate="zipConnectApp.userProfile.employer">Employer</span></dt>
  35. <dd>
  36. <div *ngIf="userProfile.employer">
  37. <a [routerLink]="['/employer', userProfile.employer?.id, 'view']">{{userProfile.employer?.id}}</a>
  38. </div>
  39. </dd>
  40. <dt><span jhiTranslate="zipConnectApp.userProfile.employer">Employer</span></dt>
  41. <dd>
  42. <div *ngIf="userProfile.employer">
  43. <a [routerLink]="['/employer', userProfile.employer?.id, 'view']">{{userProfile.employer?.id}}</a>
  44. </div>
  45. </dd>
  46. <dt><span jhiTranslate="zipConnectApp.userProfile.cohort">Cohort</span></dt>
  47. <dd>
  48. <div *ngIf="userProfile.cohort">
  49. <a [routerLink]="['/cohort', userProfile.cohort?.id, 'view']">{{userProfile.cohort?.id}}</a>
  50. </div>
  51. </dd>
  52. </dl>
  53. <button type="submit"
  54. (click)="previousState()"
  55. class="btn btn-info">
  56. <fa-icon [icon]="'arrow-left'"></fa-icon>&nbsp;<span jhiTranslate="entity.action.back"> Back</span>
  57. </button>
  58. <button type="button"
  59. [routerLink]="['/user-profile', userProfile.id, 'edit']"
  60. class="btn btn-primary">
  61. <fa-icon [icon]="'pencil-alt'"></fa-icon>&nbsp;<span jhiTranslate="entity.action.edit"> Edit</span>
  62. </button>
  63. </div>
  64. </div>
  65. </div>