src/ZKEACMS.Updater/Views/Dashboard.UpdateDbFailed.cshtml

(完整代码) 951B

@using ZKEACMS.Updater.ViewModel
@model UpdateDbFailedViewModel

@if (Model.Packages != null && Model.Packages.Any())
{
    <div class="alert alert-danger" role="alert">
        <span class="glyphicon glyphicon-exclamation-sign" aria-hidden="true"></span>
        <span class="sr-only">Error:</span>
        <span>@L("Database update failed.")</span>
        <span>@L("Please execute scripts manually!")</span>
        @foreach (var item in Model.Packages)
        {
            <p>@item</p>
        }
        <p class="small">@L("Please delete the script package manually after upgrade.")</p>
    </div>
}
else
{
    <div class="alert alert-danger" role="alert">
        <span class="glyphicon glyphicon-exclamation-sign" aria-hidden="true"></span>
        <span class="sr-only">Error:</span>
        <span>@L("Database version is mismatched!")</span>
        <span>@L("Please restart your website or contact the administrator.")</span>
    </div>
}

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。