mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-05-31 05:02:27 +00:00
Finish translation of landing page
This commit is contained in:
parent
51228b2ca1
commit
1e9f672d6c
7 changed files with 34 additions and 24 deletions
|
@ -15,7 +15,7 @@ public class LandingPage : BaseLayout
|
|||
public LandingPage(Database database) : base(database)
|
||||
{}
|
||||
|
||||
public int AuthenticationAttemptsCount;
|
||||
public int PendingAuthAttempts;
|
||||
public List<User> PlayersOnline = new();
|
||||
|
||||
public int PlayersOnlineCount;
|
||||
|
@ -32,7 +32,7 @@ public class LandingPage : BaseLayout
|
|||
this.PlayersOnlineCount = await StatisticsHelper.RecentMatches();
|
||||
|
||||
if (user != null)
|
||||
this.AuthenticationAttemptsCount = await this.Database.AuthenticationAttempts.Include
|
||||
this.PendingAuthAttempts = await this.Database.AuthenticationAttempts.Include
|
||||
(a => a.GameToken)
|
||||
.CountAsync(a => a.GameToken.UserId == user.UserId);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue