Skip to content

Commit 3a24af0

Browse files
committed
Fix header assignee text
- Add "Assigned to" before name - Make name and "Unassigned" bold
1 parent c9f9c76 commit 3a24af0

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

alcs-frontend/src/app/features/compliance-and-enforcement/details/header/details-header.component.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ <h5 class="detail-heading">
1616
<div class="right-column">
1717
<div>
1818
<div class="assignee-wrapper">
19-
{{ file?.assignee?.prettyName || 'Unassigned' }}
19+
<span *ngIf="file?.assignee?.prettyName">Assigned to</span>
20+
<strong>{{ file?.assignee?.prettyName || 'Unassigned' }}</strong>
2021
<button type="button" (click)="openAssignDialog()" mat-icon-button class="edit-assignee-button">
2122
<mat-icon>edit</mat-icon>
2223
</button>

alcs-frontend/src/app/features/compliance-and-enforcement/details/header/details-header.component.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
.assignee-wrapper {
8383
display: flex;
8484
align-items: center;
85-
gap: 12px;
85+
gap: 4px;
8686
}
8787

8888
.edit-assignee-button {

0 commit comments

Comments
 (0)