mirror of
https://github.com/lidarr/Lidarr
synced 2024-12-26 01:27:00 +00:00
28 lines
627 B
Text
28 lines
627 B
Text
@model NzbDrone.Web.Models.UpdateModel
|
|
@{ViewBag.Title = "Update";}
|
|
@if (Model.UpdatePackage == null)
|
|
{
|
|
<h2>
|
|
There are no updates available.</h2>
|
|
}
|
|
else
|
|
{
|
|
<h2>
|
|
Available Update: @Model.UpdatePackage.Version
|
|
@Ajax.ActionLink("Update", "StartUpdate", "Update", null)
|
|
</h2>
|
|
}
|
|
@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>
|
|
}
|
|
}
|