refactor logging in pretty big overhaul
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
@model List<SharedLibraryCore.Dtos.PlayerInfo>
|
||||
@model IList<SharedLibraryCore.Dtos.PlayerInfo>
|
||||
@{
|
||||
var loc = SharedLibraryCore.Utilities.CurrentLocalization.LocalizationIndex;
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
@{
|
||||
Layout = null;
|
||||
}
|
||||
@model List<SharedLibraryCore.Dtos.PenaltyInfo>
|
||||
@model IList<SharedLibraryCore.Dtos.PenaltyInfo>
|
||||
|
||||
@{
|
||||
foreach (var penalty in Model)
|
||||
|
@ -1,4 +1,4 @@
|
||||
@model int
|
||||
@model int?
|
||||
@{
|
||||
ViewData["Title"] = "Error";
|
||||
}
|
||||
@ -6,7 +6,7 @@
|
||||
<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 == 404)
|
||||
@if (Model.HasValue && Model.Value == 404)
|
||||
{
|
||||
@SharedLibraryCore.Utilities.CurrentLocalization.LocalizationIndex["WEBFRONT_ERROR_NOTFOUND"]
|
||||
}
|
||||
|
Reference in New Issue
Block a user