mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-14 02:26:55 -07:00
Fixed #4103
This commit is contained in:
parent
db67ddd839
commit
1d5b6f3c89
3 changed files with 5 additions and 9 deletions
|
@ -105,14 +105,8 @@
|
|||
<ng-container matColumnDef="actions">
|
||||
<th mat-header-cell *matHeaderCellDef> </th>
|
||||
<td mat-cell *matCellDef="let u">
|
||||
<button id="edit{{u.userName}}" mat-raised-button color="accent" [routerLink]="['/usermanagement/user/' + u.id]">Details/Edit</button>
|
||||
</td>
|
||||
</ng-container>
|
||||
|
||||
<ng-container matColumnDef="welcome">
|
||||
<th mat-header-cell *matHeaderCellDef> </th>
|
||||
<td mat-cell *matCellDef="let u">
|
||||
<button *ngIf="!u.hasLoggedIn" mat-raised-button color="accent" (click)="welcomeEmail(u)" [disabled]="!customizationSettings?.applicationUrl">Send Welcome Email</button>
|
||||
<button id="edit{{u.userName}}" mat-raised-button color="accent" [routerLink]="['/usermanagement/user/' + u.id]">Edit</button>
|
||||
<button *ngIf="!u.hasLoggedIn" mat-raised-button color="accent" (click)="welcomeEmail(u)" [disabled]="!customizationSettings?.applicationUrl"><i class="far fa-paper-plane"></i> Welcome</button>
|
||||
</td>
|
||||
</ng-container>
|
||||
|
||||
|
|
|
@ -37,6 +37,8 @@
|
|||
|
||||
.content {
|
||||
margin-top: 2em;
|
||||
overflow-x: auto;
|
||||
|
||||
}
|
||||
|
||||
.buttons {
|
||||
|
|
|
@ -13,7 +13,7 @@ import { SelectionModel } from "@angular/cdk/collections";
|
|||
export class UserManagementComponent implements OnInit {
|
||||
|
||||
public displayedColumns: string[] = ['select', 'username', 'alias', 'email', 'roles', 'remainingRequests',
|
||||
'nextRequestDue', 'lastLoggedIn', 'userType', 'actions', 'welcome'];
|
||||
'nextRequestDue', 'lastLoggedIn', 'userType', 'actions'];
|
||||
public dataSource: MatTableDataSource<IUser>;
|
||||
|
||||
public selection = new SelectionModel<IUser>(true, []);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue