1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889 |
- <div>
- <h2 id="page-heading">
- <span jhiTranslate="zipConnectApp.userProfile.home.title">User Profiles</span>
- <button id="jh-create-entity" class="btn btn-primary float-right jh-create-entity create-user-profile" [routerLink]="['/user-profile/new']">
- <fa-icon [icon]="'plus'"></fa-icon>
- <span jhiTranslate="zipConnectApp.userProfile.home.createLabel">
- Create new User Profile
- </span>
- </button>
- </h2>
- <jhi-alert></jhi-alert>
- <br/>
- <div class="table-responsive" *ngIf="userProfiles">
- <table class="table table-striped">
- <thead>
- <tr>
- <th><span jhiTranslate="global.field.id">ID</span></th>
- <th><span jhiTranslate="zipConnectApp.userProfile.profileId">Profile Id</span></th>
- <th><span jhiTranslate="zipConnectApp.userProfile.firstName">First Name</span></th>
- <th><span jhiTranslate="zipConnectApp.userProfile.lastName">Last Name</span></th>
- <th><span jhiTranslate="zipConnectApp.userProfile.userStack">User Stack</span></th>
- <th><span jhiTranslate="zipConnectApp.userProfile.user">User</span></th>
- <th><span jhiTranslate="zipConnectApp.userProfile.cohort">Cohort</span></th>
- <th><span jhiTranslate="zipConnectApp.userProfile.employer">Employer</span></th>
- <th><span jhiTranslate="zipConnectApp.userProfile.employer">Employer</span></th>
- <th><span jhiTranslate="zipConnectApp.userProfile.cohort">Cohort</span></th>
- <th></th>
- </tr>
- </thead>
- <tbody>
- <tr *ngFor="let userProfile of userProfiles ;trackBy: trackId">
- <td><a [routerLink]="['/user-profile', userProfile.id, 'view' ]">{{userProfile.id}}</a></td>
- <td>{{userProfile.profileId}}</td>
- <td>{{userProfile.firstName}}</td>
- <td>{{userProfile.lastName}}</td>
- <td>{{userProfile.userStack}}</td>
- <td>
- {{userProfile.user?.id}}
- </td>
- <td>
- <div *ngIf="userProfile.cohort">
- <a [routerLink]="['../cohort', userProfile.cohort?.id, 'view' ]" >{{userProfile.cohort?.id}}</a>
- </div>
- </td>
- <td>
- <div *ngIf="userProfile.employer">
- <a [routerLink]="['../employer', userProfile.employer?.id, 'view' ]" >{{userProfile.employer?.id}}</a>
- </div>
- </td>
- <td>
- <div *ngIf="userProfile.employer">
- <a [routerLink]="['../employer', userProfile.employer?.id, 'view' ]" >{{userProfile.employer?.id}}</a>
- </div>
- </td>
- <td>
- <div *ngIf="userProfile.cohort">
- <a [routerLink]="['../cohort', userProfile.cohort?.id, 'view' ]" >{{userProfile.cohort?.id}}</a>
- </div>
- </td>
- <td class="text-right">
- <div class="btn-group flex-btn-group-container">
- <button type="submit"
- [routerLink]="['/user-profile', userProfile.id, 'view' ]"
- class="btn btn-info btn-sm">
- <fa-icon [icon]="'eye'"></fa-icon>
- <span class="d-none d-md-inline" jhiTranslate="entity.action.view">View</span>
- </button>
- <button type="submit"
- [routerLink]="['/user-profile', userProfile.id, 'edit']"
- class="btn btn-primary btn-sm">
- <fa-icon [icon]="'pencil-alt'"></fa-icon>
- <span class="d-none d-md-inline" jhiTranslate="entity.action.edit">Edit</span>
- </button>
- <button type="submit"
- [routerLink]="['/', { outlets: { popup: 'user-profile/'+ userProfile.id + '/delete'} }]"
- replaceUrl="true"
- queryParamsHandling="merge"
- class="btn btn-danger btn-sm">
- <fa-icon [icon]="'times'"></fa-icon>
- <span class="d-none d-md-inline" jhiTranslate="entity.action.delete">Delete</span>
- </button>
- </div>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- </div>
|