mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-14 20:28:27 +00:00
Co-authored-by: Thorsten Sommer <SommerEngineering@users.noreply.github.com>
22 lines
960 B
Plaintext
22 lines
960 B
Plaintext
@inherits MSGComponentBase
|
|
|
|
<MudItem xs="12" md="6" Class="@this.ItemClass">
|
|
<MudStack Row="true" AlignItems="AlignItems.Center" Spacing="1">
|
|
@if (this.VoteChoice is not null)
|
|
{
|
|
<MudIcon Icon="@ModelComparisonOutcome.IconOf(this.VoteChoice, this.Model)" Color="@ModelComparisonOutcome.ColorOf(this.VoteChoice, this.Model)" Size="Size.Small"/>
|
|
}
|
|
<MudText Typo="Typo.body1" Color="@ModelComparisonOutcome.ColorOf(this.VoteChoice, this.Model)" Class="font-weight-bold">
|
|
@this.Answer.Label
|
|
</MudText>
|
|
@if (ModelComparisonOutcome.JudgeFavors(this.JudgeChoice, this.Model))
|
|
{
|
|
<MudChip T="string" Icon="@AppIcons.JUDGE" Size="Size.Medium" Variant="Variant.Filled" Color="Color.Tertiary" Class="font-weight-bold">
|
|
@T("Judge")
|
|
</MudChip>
|
|
}
|
|
</MudStack>
|
|
<MudText Typo="Typo.body2">
|
|
@this.TimesText
|
|
</MudText>
|
|
</MudItem> |