Skip to content

Commit

Permalink
Fix note list edited time.
Browse files Browse the repository at this point in the history
This just didn't work ??
  • Loading branch information
PJB3005 committed Jan 12, 2024
1 parent 6439549 commit dc38219
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions SS14.Admin/Pages/Players/Info.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -116,10 +116,21 @@
@note.RoundId
</td>
<td>
@note.CreatedAt.ToString("yyyy-MM-dd HH:mm:ss")<br/>by @note.CreatedBy.LastSeenUserName
@note.CreatedAt.ToString("yyyy-MM-dd HH:mm:ss")<br/>
by @(note.CreatedBy?.LastSeenUserName ?? "unknown")
</td>
<td>
@note.CreatedAt.ToString("yyyy-MM-dd HH:mm:ss")<br/>by @note.CreatedBy.LastSeenUserName
@if (note.LastEditedAt != null && note.LastEditedBy != null)
{
<text>
@note.LastEditedAt.Value.ToString("yyyy-MM-dd HH:mm:ss")<br/>
by @note.LastEditedBy.LastSeenUserName
</text>
}
else
{
<text>None</text>
}
</td>
</tr>
}
Expand Down

0 comments on commit dc38219

Please sign in to comment.