2011-11-22 09:55:09 +03:00
|
|
|
@model NzbDrone.Web.Models.UpdateModel
|
2011-12-10 08:05:17 +03:00
|
|
|
@{ViewBag.Title = "Update";}
|
2011-11-22 09:55:09 +03:00
|
|
|
@if (Model.UpdatePackage == null)
|
2011-11-14 09:01:51 +03:00
|
|
|
{
|
|
|
|
<h2>
|
|
|
|
There are no updates available.</h2>
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
<h2>
|
2011-11-22 09:55:09 +03:00
|
|
|
Available Update: @Model.UpdatePackage.Version
|
2012-02-26 12:32:39 +03:00
|
|
|
@Ajax.ActionLink("Update", "StartUpdate", "Update", null)
|
2011-11-14 09:01:51 +03:00
|
|
|
</h2>
|
|
|
|
}
|
2011-11-22 09:55:09 +03:00
|
|
|
@if (Model.LogFiles.Count != 0)
|
|
|
|
{
|
|
|
|
<h3>
|
|
|
|
Update Logs (@Model.LogFolder)
|
|
|
|
</h3>
|
|
|
|
<br />
|
|
|
|
foreach (var log in Model.LogFiles)
|
|
|
|
{
|
|
|
|
<div>
|
|
|
|
<a href="@Url.Action("ViewLog", "Update", new { filePath = log.Value })">
|
|
|
|
@log.Key.ToString("MMM dd, hh:mm tt")</a>
|
|
|
|
</div>
|
|
|
|
}
|
|
|
|
}
|