diff --git a/src/EventHub.Application.Contracts/Events/Registrations/EventAttendeeDto.cs b/src/EventHub.Application.Contracts/Events/Registrations/EventAttendeeDto.cs
index 31d7e5f..47bc90f 100644
--- a/src/EventHub.Application.Contracts/Events/Registrations/EventAttendeeDto.cs
+++ b/src/EventHub.Application.Contracts/Events/Registrations/EventAttendeeDto.cs
@@ -8,6 +8,8 @@ namespace EventHub.Events.Registrations
public string UserName { get; set; }
+ public string Email { get; set; }
+
public string Name { get; set; }
public string Surname { get; set; }
diff --git a/src/EventHub.Domain.Shared/Localization/EventHub/en.json b/src/EventHub.Domain.Shared/Localization/EventHub/en.json
index d986d6d..5d4d44f 100644
--- a/src/EventHub.Domain.Shared/Localization/EventHub/en.json
+++ b/src/EventHub.Domain.Shared/Localization/EventHub/en.json
@@ -29,8 +29,7 @@
"RegisterNow": "Register Now",
"LoginToRegister": "Login to register",
"CancelRegistration": "Cancel registration",
- "EventRegisterSuccessMessageTitle": "Thanks for registering!",
- "EventRegisterSuccessMessage": "We will send a reminder email before the event.",
+ "EventRegisterSuccessMessage": "Your event registration has been done successfully.",
"EventRegistrationCancelledMessage": "Your event registration has been cancelled.",
"OrganizedBy": "Organized by",
"NoEventOrganizedByThisOrganizationYet": "No event organized by this organization yet!",
diff --git a/src/EventHub.Web/Pages/Events/Components/AttendeesArea/Default.cshtml b/src/EventHub.Web/Pages/Events/Components/AttendeesArea/Default.cshtml
index 06b62a1..16c3b89 100644
--- a/src/EventHub.Web/Pages/Events/Components/AttendeesArea/Default.cshtml
+++ b/src/EventHub.Web/Pages/Events/Components/AttendeesArea/Default.cshtml
@@ -1,14 +1,8 @@
@model EventHub.Web.Pages.Events.Components.AttendeesArea.AttendeesAreaViewComponent.AttendeesAreaViewComponentModel
-
- @foreach (var attendee in Model.Attendees)
- {
-
-
@L["LocationHasNotSpecifiedYet", "URL"]
- } - }else +@Model.Country/@Model.City
- } - else - { -@L["LocationHasNotSpecifiedYet", "location"]
- } + @L["LocationHasNotSpecifiedYet", "URL"] } - } - else + }else { - if (Model.IsOnline) + if (Model.Country != null && Model.City != null) { -@L["AttendeesCanSeeEventLocation", "URL"]
+@L["AttendeesCanSeeEventLocation", "location"]
+ @L["LocationHasNotSpecifiedYet", "location"] } } - - + } + else + { + if (Model.IsOnline) + { + @L["AttendeesCanSeeEventLocation", "URL"] + } + else + { + @L["AttendeesCanSeeEventLocation", "location"] + } + } +
}
else
{
- @L["Language"]: @CultureInfo.GetCultureInfo(Model.Event.Language).EnglishName
- } -
@Model.Event.Description
-
-
-
-
-
+ @EventDateHelper.GetDateRangeText(Model.Event.StartTime, Model.Event.EndTime) +
+ + @await Component.InvokeAsync(typeof(AttendeesAreaViewComponent), new {eventId = Model.Event.Id}) + +