@model BuildFeed.Models.Build @{ ViewBag.Title = Model.FullBuildString + " | BuildFeed"; } @section head { @if (Model.BuildTime.HasValue) { } else { } }

@Model.FullBuildString

@if (User.Identity.IsAuthenticated) {

@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.LabelFor(model => model.MajorVersion, new { @class = "control-label col-sm-2" })

@Html.DisplayFor(model => model.MajorVersion)

@Html.LabelFor(model => model.MinorVersion, new { @class = "control-label col-sm-2" })

@Html.DisplayFor(model => model.MinorVersion)

@Html.LabelFor(model => model.Number, new { @class = "control-label col-sm-2" })

@Html.DisplayFor(model => model.Number)

@Html.LabelFor(model => model.Revision, new { @class = "control-label col-sm-2" })

@Html.DisplayFor(model => model.Revision)

@Html.LabelFor(model => model.Lab, new { @class = "control-label col-sm-2" })
@Html.LabelFor(model => model.BuildTime, new { @class = "control-label col-sm-2" })

@if (Model.BuildTime.HasValue) {
Find more builds compiled in @Model.BuildTime.Value.Year }

@Html.LabelFor(model => model.SourceType, new { @class = "control-label col-sm-2" })

@Html.DisplayFor(model => model.SourceType, "Enumeration")
Find more builds sourced from @Html.DisplayFor(model => model.SourceType, "Enumeration")

@if (Model.LeakDate.HasValue) {
@Html.LabelFor(model => model.LeakDate, new { @class = "control-label col-sm-2" })
}
@Html.LabelFor(model => model.SourceDetails, new { @class = "control-label col-sm-2" })
@Html.Raw(Model.SourceDetails)
@if ((Model.MajorVersion == 6 && Model.MinorVersion == 4) || (Model.MajorVersion == 10 && Model.MinorVersion == 0) && Model.FlightLevel != BuildFeed.Models.LevelOfFlight.None) {
@Html.LabelFor(model => model.FlightLevel, new { @class = "control-label col-sm-2" })

@Html.DisplayFor(model => model.FlightLevel, "Enumeration")

} @if (Model.BetaWikiUri != null) {
@Html.LabelFor(model => model.BetaWikiUri, new { @class = "control-label col-sm-2" })
} @if (Model.BetaWikiServerUri != null) {
@Html.LabelFor(model => model.BetaWikiServerUri, new { @class = "control-label col-sm-2" })
} @if (Model.WinWorldPCUri != null) {
@Html.LabelFor(model => model.WinWorldPCUri, new { @class = "control-label col-sm-2" })
} @if (Model.BetaArchiveUri != null) {
@Html.LabelFor(model => model.BetaArchiveUri, new { @class = "control-label col-sm-2" })
} @if (Model.MajorVersion == 6 && Model.MinorVersion == 0 && Model.LonghornMsUri != null) {
@Html.LabelFor(model => model.LonghornMsUri, new { @class = "control-label col-sm-2" })
}
@section scripts { }