@model BuildFeed.Models.Build @{ ViewBag.Title = Model.FullBuildString + " | BuildFeed"; } @section head { }
@Html.ActionLink("Edit", "edit", new { id = Model.Id }, new { @class = "btn btn-default btn-xs" }) @if (Roles.IsUserInRole("Administrators")) { @Html.ActionLink("Delete", "delete", new { id = Model.Id }, new { @class = "btn btn-danger btn-xs" }) }
@Html.DisplayFor(model => model.MajorVersion)
@Html.DisplayFor(model => model.MinorVersion)
@Html.DisplayFor(model => model.Number)
@Html.DisplayFor(model => model.Revision)
@Html.ActionLink(Model.Lab, "lab", new { lab = Model.Lab })
@Html.DisplayFor(model => model.BuildTime, "{0:yyMMdd-HHmm}")
@Html.DisplayFor(model => model.SourceType, "Enumeration")
@Html.DisplayFor(model => model.FlightLevel, "Enumeration")