From 6f41a9f80fcf6529197c03a018f123c70fd40d7e Mon Sep 17 00:00:00 2001 From: Michael Date: Thu, 6 Apr 2017 17:45:19 -0400 Subject: [PATCH] Update dev releases page. --- Project-Unite/Views/Developer/Releases.cshtml | 40 ++++++++++++++++--- 1 file changed, 35 insertions(+), 5 deletions(-) diff --git a/Project-Unite/Views/Developer/Releases.cshtml b/Project-Unite/Views/Developer/Releases.cshtml index da381e0..f154a6b 100644 --- a/Project-Unite/Views/Developer/Releases.cshtml +++ b/Project-Unite/Views/Developer/Releases.cshtml @@ -15,7 +15,8 @@
@@ -43,8 +44,7 @@ Watch dev update @Html.ActionLink("Make Unstable", "MakeUnstable", "Developer", new { id = release.Id }, new { @class = "btn btn-warning" }) @Html.ActionLink("Toggle Obsolete", "ToggleObsolete", "Developer", new { id = release.Id }, new { @class = "btn btn-warning" }) - @Html.ActionLink("Delete", "Delete", "Developer", new { id = release.Id }, new { @class = "btn btn-danger" }) - + @@ -81,8 +81,7 @@ Watch dev update @Html.ActionLink("Make Stable", "MakeStable", "Developer", new { id = release.Id }, new { @class = "btn btn-warning" }) @Html.ActionLink("Toggle Obsolete", "ToggleObsolete", "Developer", new { id = release.Id }, new { @class = "btn btn-warning" }) - @Html.ActionLink("Delete", "Delete", "Developer", new { id = release.Id }, new { @class = "btn btn-danger" }) - + @@ -95,4 +94,35 @@ }
+ +
+

Obsolete releases

+

Obsolete releases are kept up for archival purposes only. Rather than deleting a build, make it obsolete. That way, users can still play it if they want to (or can), but we don't have to accept bug reports for the obsolete release.

+ + + + + + + @foreach (var release in Model.Where(x => x.Obsolete==true).OrderByDescending(x => x.PostDate)) + { + + + + + } +
ReleaseActions
+ @if (release.Obsolete == true) + { + OBSOLETE: + } + @Html.ActionLink(release.Name, "ViewRelease", "Download", new { id = release.Id }, null)
+

...released by @Html.UserLink(release.ReleasedBy), released on @release.PostDate

+
+ Watch dev update + @Html.ActionLink("Toggle Obsolete", "ToggleObsolete", "Developer", new { id = release.Id }, new { @class = "btn btn-warning" }) + @Html.ActionLink("Delete", "Delete", "Developer", new { id = release.Id }, new { @class = "btn btn-danger" }) +
+
+ \ No newline at end of file