@model BuildFeed.Models.Build @{ ViewBag.Title = Model.FullBuildString + " | BuildFeed"; } @section head { }

@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.DisplayFor(model => model.Lab)

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

@Html.DisplayFor(model => model.BuildTime, "{0:yyMMdd-HHmm}")

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

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

@Html.LabelFor(model => model.SourceDetails, new { @class = "control-label col-sm-2" })
@Html.Raw(Model.SourceDetails)
@if (Model.MajorVersion == 6 && Model.MinorVersion == 4 && 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 { }