Ajout du type d'issue dans les détails et la liste des issues
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user