Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enowars5 #34

Merged
merged 11 commits into from
Jul 9, 2021
Original file line number Diff line number Diff line change
Expand Up @@ -165,15 +165,18 @@
CTF Registration closing in 
<ng-container *ngTemplateOutlet="countdown"></ng-container>&nbsp;
<a
*ngIf="!(authenticated$ | async)"
[href]="'/api/account/login?redirectUri=' + currentUrl"
>Register Now!</a
>
</ng-container>
<ng-container *ngIf="ctfCheckinOpen$ | async">
CTF CheckIn closing in&nbsp;
<ng-container *ngTemplateOutlet="countdown"></ng-container>
.&nbsp; Check in now!
.&nbsp;
<a
[href]="'/api/account/login?redirectUri=' + currentUrl"
>Check in now!</a
>
</ng-container>
<ng-container
*ngIf="
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,11 @@ public class LandingPageDatabaseInitializer
{
public static async Task Seed(LandingPageDatabase context)
{
if (!(await context.GetTeams(new System.Threading.CancellationToken())).Any())
{
await context.GetOrUpdateLandingPageTeam(1, "testTeam", null, null, null, new System.Threading.CancellationToken());
}
// Comment in after enowars5 is over
// if (!(await context.GetTeams(new System.Threading.CancellationToken())).Any())
// {
// await context.GetOrUpdateLandingPageTeam(1, "testTeam", null, null, null, new System.Threading.CancellationToken());
// }
}
}
}