diff --git a/Views/Games/Edit.cshtml b/Views/Games/Edit.cshtml index 8df18f7..a85fe9c 100644 --- a/Views/Games/Edit.cshtml +++ b/Views/Games/Edit.cshtml @@ -61,6 +61,52 @@ + +
+
+ @if (Model.Archives != null && Model.Archives.Count > 0) + { +
+

Archives

+
+ +
+ + + + + + + + + + + + @foreach (var archive in Model.Archives.OrderByDescending(a => a.CreatedOn)) + { + + + + + + + } + +
VersionUploaded ByUploaded OnSize
@Html.DisplayFor(m => archive.Version)@Html.DisplayFor(m => archive.CreatedBy)@Html.DisplayFor(m => archive.CreatedOn)@ByteSizeLib.ByteSize.FromBytes(new FileInfo(System.IO.Path.Combine("Upload", archive.ObjectKey)).Length)
+
+ } + else + { +
+

No Archives

+

There have been no archives uploaded for this game.

+ +
+ } +
+