From ed2e5be11aaa4712cb2485f4d5986f3356719b23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Halil=20=C4=B0brahim=20Kalkan?= Date: Mon, 25 Jan 2021 17:27:37 +0300 Subject: [PATCH] Added organization name to event detail. --- .../EventHub.Domain.Shared/Localization/EventHub/en.json | 3 ++- eventhub/src/EventHub.Web/Pages/Events/Detail.cshtml | 8 ++++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/eventhub/src/EventHub.Domain.Shared/Localization/EventHub/en.json b/eventhub/src/EventHub.Domain.Shared/Localization/EventHub/en.json index 3c93977..ac8cccf 100644 --- a/eventhub/src/EventHub.Domain.Shared/Localization/EventHub/en.json +++ b/eventhub/src/EventHub.Domain.Shared/Localization/EventHub/en.json @@ -31,6 +31,7 @@ "CancelRegistration": "Cancel registration", "EventRegisterSuccessMessageTitle": "Thanks for registering!", "EventRegisterSuccessMessage": "We will send a reminder email before the event.", - "EventRegistrationCancelledMessage": "Your event registration has been cancelled." + "EventRegistrationCancelledMessage": "Your event registration has been cancelled.", + "OrganizedBy": "Organized by" } } diff --git a/eventhub/src/EventHub.Web/Pages/Events/Detail.cshtml b/eventhub/src/EventHub.Web/Pages/Events/Detail.cshtml index af11552..18b146e 100644 --- a/eventhub/src/EventHub.Web/Pages/Events/Detail.cshtml +++ b/eventhub/src/EventHub.Web/Pages/Events/Detail.cshtml @@ -11,8 +11,12 @@ @Model.Event.Title @Model.Event.Title - @Model.Event.StartTime.ToLongDateString(), @Model.Event.StartTime.ToString("hh:mm") - + + @Model.Event.StartTime.ToLongDateString(), + @Model.Event.StartTime.ToString("hh:mm")
+ @L["OrganizedBy"] @Model.Event.OrganizationDisplayName +
+ @Model.Event.Description