IW4M-Admin/WebfrontCore/Views/Shared/Error.cshtml
2019-10-23 13:35:20 -05:00

16 lines
540 B
Plaintext

@model Exception
@using SharedLibraryCore
@{
ViewData["Title"] = "Error";
}
<h4 class="text-danger">@SharedLibraryCore.Utilities.CurrentLocalization.LocalizationIndex["WEBFRONT_ERROR_GENERIC_TITLE"]</h4>
<h4 class="text-danger">@SharedLibraryCore.Utilities.CurrentLocalization.LocalizationIndex["WEBFRONT_ERROR_GENERIC_DESC"]</h4>
<strong class="text-warning">
@if (Model != null)
{
@SharedLibraryCore.Utilities.CurrentLocalization.LocalizationIndex["WEBFRONT_ERROR_CODE"].FormatExt(Model.Message);
}
</strong>