Swap Rank and Crown position on Leaderboard table
This commit is contained in:
parent
d206aaff47
commit
8fcd7a1057
@ -49,8 +49,8 @@
|
||||
<MudTh>@Localizer["Rank"]</MudTh>
|
||||
<MudTh>@Localizer["Player"]</MudTh>
|
||||
<MudTh>@Localizer["Score"]</MudTh>
|
||||
<MudTh>@Localizer["Rank"]</MudTh>
|
||||
<MudTh>@Localizer["Crown"]</MudTh>
|
||||
<MudTh>@Localizer["Rank"]</MudTh>
|
||||
</HeaderContent>
|
||||
<RowTemplate>
|
||||
<MudTd>@context.Rank</MudTd>
|
||||
@ -61,6 +61,9 @@
|
||||
</MudStack>
|
||||
</MudTd>
|
||||
<MudTd>@context.BestScore</MudTd>
|
||||
<MudTd>
|
||||
<img src="@($"/images/crown_{context.BestCrown}.png")" alt="@(ScoreUtils.GetCrownText(context.BestCrown))" title="@(ScoreUtils.GetCrownText(context.BestCrown))" style="@Constants.ICON_STYLE"/>
|
||||
</MudTd>
|
||||
<MudTd>
|
||||
@if (context.BestScoreRank is not ScoreRank.None)
|
||||
{
|
||||
@ -71,9 +74,6 @@
|
||||
<MudText Typo="Typo.body1">—</MudText>
|
||||
}
|
||||
</MudTd>
|
||||
<MudTd>
|
||||
<img src="@($"/images/crown_{context.BestCrown}.png")" alt="@(ScoreUtils.GetCrownText(context.BestCrown))" title="@(ScoreUtils.GetCrownText(context.BestCrown))" style="@Constants.ICON_STYLE"/>
|
||||
</MudTd>
|
||||
</RowTemplate>
|
||||
<PagerContent>
|
||||
@if (TotalPages > 1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user