diff --git a/frontend/src/app/pages/reference/bans/history/history.component.html b/frontend/src/app/pages/reference/bans/history/history.component.html index a0654ea..673e004 100644 --- a/frontend/src/app/pages/reference/bans/history/history.component.html +++ b/frontend/src/app/pages/reference/bans/history/history.component.html @@ -14,7 +14,7 @@ Date Expires @if (canEdit()) { - Actions + } @@ -51,8 +51,8 @@ {{ this.historyFormat.getExpiredTime(entry) }} @if (canEdit()) { - - + + edit } diff --git a/frontend/src/app/pages/reference/bans/history/history.component.scss b/frontend/src/app/pages/reference/bans/history/history.component.scss index 6181041..6bced0b 100644 --- a/frontend/src/app/pages/reference/bans/history/history.component.scss +++ b/frontend/src/app/pages/reference/bans/history/history.component.scss @@ -111,3 +111,8 @@ img { .historyDate { width: 170px; } + +.historyActions { + width: 100px; + padding: 0 10px 0 10px; +} diff --git a/frontend/src/app/pages/reference/bans/history/history.component.ts b/frontend/src/app/pages/reference/bans/history/history.component.ts index 2027122..1fbeaaa 100644 --- a/frontend/src/app/pages/reference/bans/history/history.component.ts +++ b/frontend/src/app/pages/reference/bans/history/history.component.ts @@ -11,12 +11,14 @@ import {Router} from '@angular/router'; import {AuthService} from '@services/auth.service'; import {MatDialog} from '@angular/material/dialog'; import {EditPunishmentDialogComponent} from '../edit-punishment-dialog/edit-punishment-dialog.component'; +import {MatIconModule} from '@angular/material/icon'; @Component({ selector: 'app-history', imports: [ NgOptimizedImage, - RemoveTrailingPeriodPipe + RemoveTrailingPeriodPipe, + MatIconModule, ], templateUrl: './history.component.html', styleUrl: './history.component.scss',