Anmeldetool cannot import Register Control
Needs-Future-Attention #17 Removal of unset Fields and comments
This commit is contained in:
@ -16,7 +16,6 @@ else
|
||||
<ActionLink Action="Add" Security="SecurityAccessLevel.Edit" Text="Add Event" ResourceKey="Add" />
|
||||
<br />
|
||||
<br />
|
||||
<p>@Status</p>
|
||||
@if (@_EventRegistrations.Count != 0)
|
||||
{
|
||||
|
||||
@ -37,7 +36,7 @@ else
|
||||
<ActionDialog Action="Delete"
|
||||
Security="SecurityAccessLevel.Edit"
|
||||
Class="btn btn-danger"
|
||||
OnClick="@(() => Delete(context))"
|
||||
OnClick="@(async () => await Delete(context))"
|
||||
ResourceKey="Delete"
|
||||
Id="@context.EventId.ToString()" />
|
||||
|
||||
@ -49,24 +48,6 @@ else
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
/* <Pager Items="@_EventRegistrations">
|
||||
<Header>
|
||||
<th style="width: 1px;"> </th>
|
||||
<th style="width: 1px;"> </th>
|
||||
<th>@Localizer["Name"]</th>
|
||||
<th>@Localizer["Date"]</th>
|
||||
<th>@Localizer["Locataion"]</th>
|
||||
<th style="width: 1px;"> </th>
|
||||
</Header>
|
||||
<Row>
|
||||
<td><ActionLink Action="Edit" Parameters="@($"id=" + context.EventId.ToString())" ResourceKey="Edit" /></td>
|
||||
<td><ActionDialog Action="Delete" Security="SecurityAccessLevel.Edit" Class="btn btn-danger" OnClick="@(async () => await Delete(context))" ResourceKey="Delete" Id="@context.EventId.ToString()" /></td>
|
||||
<td>@context.Name</td>
|
||||
<td>@context.EventDate.ToLocalTime()</td>
|
||||
<td>@context.Location</td>
|
||||
<td><ActionLink Action="Details" Parameters="@($"id=" + context.EventId.ToString())" ResourceKey="Details"/></td>
|
||||
</Row>
|
||||
</Pager>*/
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -75,8 +56,6 @@ else
|
||||
}
|
||||
|
||||
@code {
|
||||
private string Status;
|
||||
|
||||
public override List<Resource> Resources => new List<Resource>()
|
||||
{
|
||||
new Resource { ResourceType = ResourceType.Stylesheet, Url = ModulePath() + "Module.css" },
|
||||
|
||||
Reference in New Issue
Block a user