1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-16 11:37:58 +02:00
Sonarr/NzbDrone.Web/Views/Update/Post.cshtml
Mark McDowall 6e86db66c8 New: After an update the update page will redirect to a success or failure page, depending on the result.
Fix: Notifications will attempt to reconnect to NzbDrone after it is shutdown.
2012-02-29 16:44:44 -08:00

20 lines
561 B
Plaintext

@model NzbDrone.Web.Models.PostUpgradeModel
@{
ViewBag.Title = "Post Upgrade";
}
@if (Model.Success)
{
<h1><strong>Successfully upgraded to @(Model.CurrentVersion)</strong></h1>
}
else{
<h1><strong>Failed to upgrade to @(Model.ExpectedVersion)</strong></h1>
<div>
<h3>Please review the log file:
<a href="@Url.Action("ViewLog", "Update", new { filePath = Model.LogFile.Value })">
@Model.LogFile.Key.ToString("MMM dd, hh:mm tt")</a></h3>
</div>
}