Skip to content

Commit

Permalink
Player last seen info links to connections table.
Browse files Browse the repository at this point in the history
Idk just a quick idea I had.
  • Loading branch information
PJB3005 committed Jan 13, 2024
1 parent cc555e7 commit 9e6b794
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions SS14.Admin/Pages/Players/Info.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,17 @@
<dt class="col-sm-2">Last seen time:</dt>
<dd class="col-sm-10">@Model.Player.LastSeenTime.ToString("yyyy-MM-dd HH:mm:ss")</dd>
<dt class="col-sm-2">Last seen address:</dt>
<dd class="col-sm-10 font-monospace">@Model.Player.LastSeenAddress</dd>
<dd class="col-sm-10 font-monospace">
<a asp-page="../Connections/Index" asp-route-search="@Model.Player.LastSeenAddress">
@Model.Player.LastSeenAddress
</a>
</dd>
<dt class="col-sm-2">Last seen HWID:</dt>
<dd class="col-sm-10 font-monospace">@BanHelper.FormatHwid(Model.Player.LastSeenHWId)</dd>
<dd class="col-sm-10 font-monospace">
<a asp-page="../Connections/Index" asp-route-search="@BanHelper.FormatHwid(Model.Player.LastSeenHWId)">
@BanHelper.FormatHwid(Model.Player.LastSeenHWId)
</a>
</dd>
<dt class="col-sm-2">Whitelisted:</dt>
<dd class="col-sm-10 font-monospace">
@if (Model.Whitelisted)
Expand Down

0 comments on commit 9e6b794

Please sign in to comment.