Skip to content

Commit

Permalink
great builders, tweak kick player verbiage
Browse files Browse the repository at this point in the history
  • Loading branch information
mrosack committed Mar 17, 2023
1 parent 41f5f3b commit 8105427
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 8 deletions.
14 changes: 7 additions & 7 deletions src/app/game/detail/admin/admin.component.html
Expand Up @@ -4,20 +4,20 @@
</div>
</div>
<tabset>
<tab heading="Kick Current User" *ngIf="game.createdBySteamId !== game.currentPlayerSteamId">
<tab heading="Kick Current Player" *ngIf="game.createdBySteamId !== game.currentPlayerSteamId">
<div class="well">
<div class="row">
<div class="col-sm-12">
<p>
You can only kick a user if they have had 24 hours to play their turn and have failed to do so. Please do
not kick users without reason - if complaints are logged against you for kicking players from games
You can only kick a player if they have had 24 hours to play their turn and have failed to do so. Please do
not kick players without reason - if complaints are logged against you for kicking players from games
inappropriately you may be banned from the site!
</p>
</div>
<ng-container *ngIf="substituteUsers?.length">
<div class="col-sm-12">
<p>
Users with more than 500 turns played can register to be substituted in to games when players leave. If
Players with more than 500 turns played can register to be substituted in to games when players leave. If
this game is still competitive, you can substitute in another player to take over for the player you're
removing.
</p>
Expand All @@ -32,13 +32,13 @@
[checked]="!!userToSubstitute"
(click)="userToSubstitute = userToSubstitute ? null : randomizeUserToSubstitute()"
/>
Do you want to substitute another user into this slot?
Do you want to substitute another player into this slot?
</label>
</div>
</div>
</div>
<div class="form-group" *ngIf="userToSubstitute">
<label for="description" class="col-sm-3 control-label">User to Substitute:</label>
<label for="description" class="col-sm-3 control-label">Player to Substitute:</label>
<div class="col-sm-9">
<select class="form-control" [(ngModel)]="userToSubstitute">
<option *ngFor="let user of substituteUsers" [ngValue]="user">
Expand All @@ -51,7 +51,7 @@
</div>
<div class="row" style="margin-top: 20px">
<div class="col-xs-12 text-center">
<button type="button" class="btn btn-danger" (click)="confirmKickUserModal.show()">Kick User</button>
<button type="button" class="btn btn-danger" (click)="confirmKickUserModal.show()">Kick Player</button>
</div>
</div>
</div>
Expand Down
1 change: 0 additions & 1 deletion src/app/game/detail/admin/admin.component.ts
Expand Up @@ -32,7 +32,6 @@ export class GameDetailAdminComponent implements OnInit {
const gameSteamIds = this.game.players.map(x => x.steamId);

this.substituteUsers = su.filter(x => gameSteamIds.indexOf(x.steamId) < 0);
this.randomizeUserToSubstitute();
}
}

Expand Down
4 changes: 4 additions & 0 deletions src/app/shared/changelog.service.ts
Expand Up @@ -55,6 +55,10 @@ Because of this, **IF YOU USE START CLIENT ON BOOT** you'll need to uncheck the
];

const WEBSITE_CHANGES: Changelog[] = [
{
date: "2023-03-16",
desc: `Add support for the Great Builders DLC.`,
},
{
date: "2023-02-16",
desc: `Add support for Rulers of the Sahara DLC.`,
Expand Down
Binary file added src/public/img/civs/BYZANTIUM_THEODORA.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/public/img/civs/GERMANY_LUDWIG.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/public/img/civs/KOREA_SEJONG.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 8105427

Please sign in to comment.