Bump Version
This commit is contained in:
@ -24,7 +24,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
@if (PageState.User != null) {
|
@if (PageState.User != null) {
|
||||||
|
|
||||||
@if (Status != null)
|
@if (Status != null)
|
||||||
{
|
{
|
||||||
<p class="mt-2"><strong>Status: </strong>
|
<p class="mt-2"><strong>Status: </strong>
|
||||||
@ -48,8 +48,8 @@
|
|||||||
{
|
{
|
||||||
<p class="mt-3">Um dich für dieses Event zu registrieren, muss man sich zuerst anmelden.</p>
|
<p class="mt-3">Um dich für dieses Event zu registrieren, muss man sich zuerst anmelden.</p>
|
||||||
<div class="gap-2">
|
<div class="gap-2">
|
||||||
<Login />
|
<Login />
|
||||||
<UserProfile ShowRegister="true" />
|
<UserProfile ShowRegister="true" />
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -83,20 +83,20 @@
|
|||||||
private async Task SendResponse(bool response)
|
private async Task SendResponse(bool response)
|
||||||
{
|
{
|
||||||
if(ValidateProfiles()) {
|
if(ValidateProfiles()) {
|
||||||
if(_response == null)
|
if(_response == null)
|
||||||
{
|
{
|
||||||
_response = new Response();
|
_response = new Response();
|
||||||
_response.EventRegistrationId = _id;
|
_response.EventRegistrationId = _id;
|
||||||
_response.OwnerId = PageState.User.UserId;
|
_response.OwnerId = PageState.User.UserId;
|
||||||
_response.ModuleId = ModuleState.ModuleId;
|
_response.ModuleId = ModuleState.ModuleId;
|
||||||
_response.ResponseType = response;
|
_response.ResponseType = response;
|
||||||
_response = await EventRegistrationService.AddResponseAsync(_response);
|
_response = await EventRegistrationService.AddResponseAsync(_response);
|
||||||
} else
|
} else
|
||||||
{
|
{
|
||||||
_response.ResponseType = response;
|
_response.ResponseType = response;
|
||||||
_response = await EventRegistrationService.UpdateResponseAsync(_response);
|
_response = await EventRegistrationService.UpdateResponseAsync(_response);
|
||||||
}
|
}
|
||||||
if(_response != null) Status = _response.ResponseType;
|
if(_response != null) Status = _response.ResponseType;
|
||||||
} else
|
} else
|
||||||
{
|
{
|
||||||
var currentPathAndQuery = new Uri(NavigationManager.Uri).PathAndQuery;
|
var currentPathAndQuery = new Uri(NavigationManager.Uri).PathAndQuery;
|
||||||
@ -114,7 +114,7 @@
|
|||||||
|
|
||||||
private async void Absage()
|
private async void Absage()
|
||||||
{
|
{
|
||||||
await SendResponse(false);
|
await SendResponse(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override async Task OnInitializedAsync()
|
protected override async Task OnInitializedAsync()
|
||||||
@ -122,12 +122,12 @@
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
if(PageState.User != null) {
|
if(PageState.User != null) {
|
||||||
_profiles = await ProfileService.GetProfilesAsync(PageState.Site.SiteId);
|
_profiles = await ProfileService.GetProfilesAsync(PageState.Site.SiteId);
|
||||||
var user = await UserService.GetUserAsync(PageState.User.UserId, PageState.Site.SiteId);
|
var user = await UserService.GetUserAsync(PageState.User.UserId, PageState.Site.SiteId);
|
||||||
if (user != null)
|
if (user != null)
|
||||||
{
|
{
|
||||||
_settings = user.Settings;
|
_settings = user.Settings;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
_id = Int32.Parse(PageState.QueryString["id"]);
|
_id = Int32.Parse(PageState.QueryString["id"]);
|
||||||
|
|||||||
@ -9,9 +9,9 @@ namespace SZUAbsolventenverein.Module.EventRegistration
|
|||||||
{
|
{
|
||||||
Name = "EventRegistration",
|
Name = "EventRegistration",
|
||||||
Description = "A module to manage registration for events",
|
Description = "A module to manage registration for events",
|
||||||
Version = "1.0.14",
|
Version = "1.0.17",
|
||||||
ServerManagerType = "SZUAbsolventenverein.Module.EventRegistration.Manager.EventRegistrationManager, SZUAbsolventenverein.Module.EventRegistration.Server.Oqtane",
|
ServerManagerType = "SZUAbsolventenverein.Module.EventRegistration.Manager.EventRegistrationManager, SZUAbsolventenverein.Module.EventRegistration.Server.Oqtane",
|
||||||
ReleaseVersions = "1.0.0,1.0.1,1.0.2,1.0.3,1.0.4,1.0.5,1.0.6,1.0.7,1.0.8,1.0.9,1.0.10,1.0.11,1.0.12,1.0.13,1.0.14",
|
ReleaseVersions = "1.0.0,1.0.1,1.0.2,1.0.3,1.0.4,1.0.5,1.0.6,1.0.7,1.0.8,1.0.9,1.0.10,1.0.11,1.0.12,1.0.13,1.0.14,1.0.15,1.0.16,1.0.17",
|
||||||
Dependencies = "SZUAbsolventenverein.Module.EventRegistration.Shared.Oqtane",
|
Dependencies = "SZUAbsolventenverein.Module.EventRegistration.Shared.Oqtane",
|
||||||
PackageName = "SZUAbsolventenverein.Module.EventRegistration"
|
PackageName = "SZUAbsolventenverein.Module.EventRegistration"
|
||||||
};
|
};
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
|
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
|
||||||
<metadata>
|
<metadata>
|
||||||
<id>$projectname$</id>
|
<id>$projectname$</id>
|
||||||
<version>1.0.14</version>
|
<version>1.0.17</version>
|
||||||
<authors>SZUAbsolventenverein</authors>
|
<authors>SZUAbsolventenverein</authors>
|
||||||
<owners>SZUAbsolventenverein</owners>
|
<owners>SZUAbsolventenverein</owners>
|
||||||
<title>EventRegistration</title>
|
<title>EventRegistration</title>
|
||||||
|
|||||||
Reference in New Issue
Block a user