Add Blazor WebApp and rework data handling to utilize Entity Framework
This commit is contained in:
@@ -9,17 +9,17 @@
|
||||
<tr>
|
||||
<td class="@{ GetTeamClass(team); } col-6" >
|
||||
<strong>@team</strong>
|
||||
@if (!string.IsNullOrEmpty(team.Event.EventAttributes()))
|
||||
@if (!string.IsNullOrEmpty(team.EventDefinition.EventAttributes()))
|
||||
{
|
||||
<i>(@team.Event.EventAttributes())</i>
|
||||
<i>(@team.EventDefinition.EventAttributes())</i>
|
||||
}
|
||||
<small><i>@team.Event.SemifinalistActivity</i></small>
|
||||
@* @if (team.Event.StatePresubmission)
|
||||
<small><i>@team.EventDefinition.SemifinalistActivity</i></small>
|
||||
@* @if (team.EventDefinition.StatePresubmission)
|
||||
{
|
||||
<small>(pre-submission)</small>
|
||||
}
|
||||
|
||||
@if (team.Event.StatePretesting)
|
||||
@if (team.EventDefinition.StatePretesting)
|
||||
{
|
||||
<small>(pre-testing)</small>
|
||||
} *@
|
||||
@@ -58,7 +58,7 @@
|
||||
}
|
||||
</td>
|
||||
<td>
|
||||
@team.Event.Documentation
|
||||
@team.EventDefinition.Documentation
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -66,7 +66,7 @@
|
||||
{
|
||||
private void GetTeamClass(Team team)
|
||||
{
|
||||
// if (team.Event.RegionalEvent)
|
||||
// if (team.EventDefinition.RegionalEvent)
|
||||
// {
|
||||
// @Html.Raw("regional")
|
||||
// ;
|
||||
|
||||
Reference in New Issue
Block a user