feat: separate completed/retired projects

also changes the colours for Hiatus from red to orange, red now signifying Retired
This commit is contained in:
Oliver Booth 2023-12-26 20:35:21 +00:00
parent de41078365
commit 486b53d9d7
Signed by: oliverbooth
GPG Key ID: E60B570D1B7557B5
2 changed files with 10 additions and 3 deletions

View File

@ -14,5 +14,8 @@ public enum ProjectStatus
Hiatus,
[Description("The project is no longer being worked on.")]
Past
Past,
[Description("The project has been retired with no plans for completion.")]
Retired,
}

View File

@ -57,11 +57,15 @@
break;
case ProjectStatus.Past:
<span class="badge rounded-pill text-bg-primary">Completed / Retired</span>
<span class="badge rounded-pill text-bg-primary">Completed</span>
break;
case ProjectStatus.Hiatus:
<span class="badge rounded-pill text-bg-danger">On Hiatus</span>
<span class="badge rounded-pill text-bg-warning">On Hiatus</span>
break;
case ProjectStatus.Retired:
<span class="badge rounded-pill text-bg-danger">Retired</span>
break;
}
</td>