@model NzbDrone.Web.Models.UpdateModel @{ViewBag.Title = "Update";} @if (Model.UpdatePackage == null) {

There are no updates available.

} else {

Available Update: @Model.UpdatePackage.Version @Ajax.ActionLink("Update", "StartUpdate", "Update", new AjaxOptions{ OnSuccess = "updateStarted" }) @Html.HiddenFor(m => m.UpdatePackage.Version)

} @if (Model.LogFiles.Count != 0) {

Update Logs (@Model.LogFolder)


foreach (var log in Model.LogFiles) {
@log.Key.ToString("MMM dd, hh:mm tt")
} } @section Scripts { }