Ajout du type d'issue dans les détails et la liste des issues

This commit is contained in:
Cédric OLIVIER
2026-05-22 18:40:19 +02:00
parent 26dfbae927
commit ecf55392fd
4 changed files with 42 additions and 16 deletions
+15 -16
View File
@@ -22,7 +22,6 @@
<div class="header-actions">
@if (!isEditing) {
<button type="button" class="edit-button" (click)="startEdit()">Editer l'issue</button>
}
<div class="more-wrapper">
<button type="button" class="more-button" (click)="toggleMoreMenu()">More ▾</button>
@@ -34,6 +33,7 @@
</div>
}
</div>
}
</div>
</div>
</header>
@@ -55,6 +55,20 @@
}
</td>
</tr>
<tr>
<th>Type</th>
<td>
@if (isEditing) {
<select [(ngModel)]="issueTypeValue">
@for (type of typeOptions; track type) {
<option [value]="type">{{ type }}</option>
}
</select>
} @else {
{{ issueTypeValue }}
}
</td>
</tr>
<tr>
<th>Epic</th>
<td>
@@ -135,21 +149,6 @@
}
</td>
</tr>
<tr>
<th>Status</th>
<td>
@if (isEditing) {
<select [(ngModel)]="issue.status">
<option value="draft">draft</option>
<option value="todo">todo</option>
<option value="done">done</option>
<option value="in-progress">in-progress</option>
</select>
} @else {
{{ issue.status }}
}
</td>
</tr>
<tr>
<th>Progression</th>
<td>