mirror of
https://gitlab.com/buildfeed/BuildFeed.git
synced 2024-03-22 21:10:34 +08:00
21 lines
635 B
Plaintext
21 lines
635 B
Plaintext
|
@model IEnumerable<IGrouping<BuildFeed.Models.BuildGroup, BuildFeed.Models.Build>>
|
||
|
@{
|
||
|
ViewBag.Title = "BuildFeed";
|
||
|
}
|
||
|
|
||
|
<div class="row">
|
||
|
@foreach (var group in Model)
|
||
|
{
|
||
|
<div class="col-sm-2">
|
||
|
<h3>@group.Key.ToString()</h3>
|
||
|
<p>
|
||
|
@if(group.Any(k => k.BuildTime.HasValue))
|
||
|
{
|
||
|
<span><i class="fa fa-calendar fa-fw"></i> @group.Max(k => k.BuildTime).Value.ToString("dd MMMM yyyy")</span><br />
|
||
|
}
|
||
|
<i class="fa fa-server fa-fw"></i> @group.Count().ToString() variants
|
||
|
</p>
|
||
|
</div>
|
||
|
}
|
||
|
</div>
|