mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 01:54:15 +00:00

While creating a new EPerson - * Reset password button is not displayed. * Submit button label changed from 'Save' to 'Create'.
44 lines
2.1 KiB
HTML
44 lines
2.1 KiB
HTML
<div class="mt-3" @fadeInOut>
|
|
<ds-eperson-search-box *ngIf="isListOfEPerson" (search)="onSearch($event)"></ds-eperson-search-box>
|
|
<ds-group-search-box *ngIf="!isListOfEPerson" (search)="onSearch($event)"></ds-group-search-box>
|
|
|
|
<ds-pagination *ngIf="(getList() | async)?.payload?.totalElements > 0"
|
|
[paginationOptions]="paginationOptions"
|
|
[collectionSize]="(getList() | async)?.payload?.totalElements"
|
|
[retainScrollPosition]="true"
|
|
[hideGear]="true">
|
|
|
|
<div class="table-responsive">
|
|
<table id="groups" class="table table-sm table-striped table-hover table-bordered">
|
|
<thead>
|
|
<tr class="text-center">
|
|
<th>{{'resource-policies.form.eperson-group-list.table.headers.id' | translate}}</th>
|
|
<th>{{'resource-policies.form.eperson-group-list.table.headers.name' | translate}}</th>
|
|
<th *ngIf="isListOfEPerson">{{'resource-policies.form.eperson-group-list.table.headers.identity' | translate}}</th>
|
|
<th *ngIf="!isListOfEPerson">{{'resource-policies.form.eperson-group-list.table.headers.collcomm' | translate}}</th>
|
|
<th>{{'resource-policies.form.eperson-group-list.table.headers.action' | translate}}</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr *ngFor="let entry of (getList() | async)?.payload?.page"
|
|
[class.table-primary]="isSelected(entry) | async">
|
|
<td>{{entry.id}}</td>
|
|
<td>{{dsoNameService.getName(entry)}}</td>
|
|
<td *ngIf="isListOfEPerson">
|
|
{{'resource-policies.form.eperson-group-list.cell.email' | translate}} {{entry.email}}<br/>
|
|
{{'resource-policies.form.eperson-group-list.cell.netid' | translate}} {{entry.netid}}
|
|
</td>
|
|
<td *ngIf="!isListOfEPerson">{{(entry.object | async)?.payload?.name}}</td>
|
|
<td class="text-center">
|
|
<button class="btn btn-sm btn-outline-primary" (click)="emitSelect(entry)">
|
|
{{'resource-policies.form.eperson-group-list.select.btn' | translate}}
|
|
</button>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
</ds-pagination>
|
|
</div>
|