From 0dcdc12ff6e6c539c9b5dd3c9e7f66119234635b Mon Sep 17 00:00:00 2001 From: chrisjensenuk Date: Wed, 22 May 2019 13:52:26 +0100 Subject: [PATCH] ER-1019 - Added field indicators in QA for EmployerName (#608) +semver: patch --- src/QA/QA.Web/Mappings/ReviewFieldMappingLookups.cs | 3 ++- src/QA/QA.Web/Views/Review/ReadonlyReview.cshtml | 7 ++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/QA/QA.Web/Mappings/ReviewFieldMappingLookups.cs b/src/QA/QA.Web/Mappings/ReviewFieldMappingLookups.cs index b0cb5924ae..19c9b8f2ba 100644 --- a/src/QA/QA.Web/Mappings/ReviewFieldMappingLookups.cs +++ b/src/QA/QA.Web/Mappings/ReviewFieldMappingLookups.cs @@ -28,6 +28,7 @@ public static ReviewFieldMappingLookupsForPage GetPreviewReviewFieldIndicators() new ReviewFieldIndicatorViewModel(FieldIdentifiers.ThingsToConsider, Anchors.ThingsToConsider), new ReviewFieldIndicatorViewModel(FieldIdentifiers.EmployerDescription, Anchors.EmployerDescription), new ReviewFieldIndicatorViewModel(FieldIdentifiers.DisabilityConfident, Anchors.DisabilityConfident), + new ReviewFieldIndicatorViewModel(FieldIdentifiers.EmployerName, Anchors.EmployerName), new ReviewFieldIndicatorViewModel(FieldIdentifiers.EmployerWebsiteUrl, Anchors.EmployerWebsiteUrl), new ReviewFieldIndicatorViewModel(FieldIdentifiers.EmployerContact, Anchors.EmployerContact), new ReviewFieldIndicatorViewModel(FieldIdentifiers.EmployerAddress, Anchors.EmployerAddress), @@ -42,7 +43,7 @@ public static ReviewFieldMappingLookupsForPage GetPreviewReviewFieldIndicators() { { FieldIdResolver.ToFieldId(v => v.EmployerAccountId), new string[0]}, { FieldIdResolver.ToFieldId(v => v.Title), new[]{ FieldIdentifiers.Title} }, - { FieldIdResolver.ToFieldId(v => v.EmployerName), new string[0] }, + { FieldIdResolver.ToFieldId(v => v.EmployerName), new[]{FieldIdentifiers.EmployerName} }, { FieldIdResolver.ToFieldId(v => v.ShortDescription), new []{ FieldIdentifiers.ShortDescription} }, { FieldIdResolver.ToFieldId(v => v.ClosingDate), new []{ FieldIdentifiers.ClosingDate} }, { FieldIdResolver.ToFieldId(v => v.Wage.WeeklyHours), new []{ FieldIdentifiers.WorkingWeek} }, diff --git a/src/QA/QA.Web/Views/Review/ReadonlyReview.cshtml b/src/QA/QA.Web/Views/Review/ReadonlyReview.cshtml index 0ca0279e6d..6c5cda062f 100644 --- a/src/QA/QA.Web/Views/Review/ReadonlyReview.cshtml +++ b/src/QA/QA.Web/Views/Review/ReadonlyReview.cshtml @@ -166,9 +166,14 @@

Description

@Model.EmployerDescription

-
+

Employer

@Model.EmployerName

+ +
+

Reason for being anonymous (does not show on vacancy)

+

@Model.AnonymousReason

+

Disability Confident (optional)