@if (group.Any(k => k.BuildTime.HasValue))
{
var maxDate = group.Max(k => k.BuildTime).Value;
if (maxDate.AddDays(28) > DateTime.Now)
{
- @maxDate.Humanize()
+ @maxDate.Humanize()
}
else
{
- @maxDate.ToString("dd MMMM yyyy")
+ @maxDate.ToString("d MMMM yyyy")
}
}
@group.Count().ToString() builds
diff --git a/Views/front/viewGroup.cshtml b/Views/front/viewGroup.cshtml
index 9a30514..c79b5e2 100644
--- a/Views/front/viewGroup.cshtml
+++ b/Views/front/viewGroup.cshtml
@@ -1,11 +1,30 @@
-@model IEnumerable
- @foreach (var build in Model)
+
@Model.Key.ToString()
+
+