From b8fe001a908e0494ef566757ecd414eb07b7b490 Mon Sep 17 00:00:00 2001 From: Peter Morris Date: Tue, 5 Nov 2019 14:44:21 +0000 Subject: [PATCH] ER-936 CON-1007 Expand qualificiations width (#828) +semver: minor --- .../Views/Shared/_EditVacancyPartial.cshtml | 8 ++++-- .../_NonEditableVacancyDisplayPartial.cshtml | 8 ++++-- .../VacancyPreview/VacancyPreview.cshtml | 28 +++++++++++-------- .../Views/Shared/_EditVacancyPartial.cshtml | 8 ++++-- .../_NonEditableVacancyDisplayPartial.cshtml | 8 ++++-- .../VacancyPreview/VacancyPreview.cshtml | 26 +++++++++-------- .../QA.Web/Views/Review/ReadonlyReview.cshtml | 16 +++++++---- src/QA/QA.Web/Views/Review/Review.cshtml | 26 +++++++++-------- 8 files changed, 80 insertions(+), 48 deletions(-) diff --git a/src/Employer/Employer.Web/Views/Shared/_EditVacancyPartial.cshtml b/src/Employer/Employer.Web/Views/Shared/_EditVacancyPartial.cshtml index bbccf493ce..a7904d952d 100644 --- a/src/Employer/Employer.Web/Views/Shared/_EditVacancyPartial.cshtml +++ b/src/Employer/Employer.Web/Views/Shared/_EditVacancyPartial.cshtml @@ -77,14 +77,18 @@

Desired skills and personal qualities

@string.Join(", ", Model.Skills)

-

Qualifications

-

@Html.Raw(string.Join("
", Model.Qualifications))

Things to consider

@Model.ThingsToConsider

+
+
+

Qualifications

+

@Html.Raw(string.Join("
", Model.Qualifications))

+
+

diff --git a/src/Employer/Employer.Web/Views/Shared/_NonEditableVacancyDisplayPartial.cshtml b/src/Employer/Employer.Web/Views/Shared/_NonEditableVacancyDisplayPartial.cshtml index 340dbe6320..26e75d3140 100644 --- a/src/Employer/Employer.Web/Views/Shared/_NonEditableVacancyDisplayPartial.cshtml +++ b/src/Employer/Employer.Web/Views/Shared/_NonEditableVacancyDisplayPartial.cshtml @@ -75,14 +75,18 @@

Desired skills and personal qualities

@string.Join(", ", Model.Skills)

-

Qualifications

-

@Html.Raw(string.Join("
", Model.Qualifications))

Things to consider

@Model.ThingsToConsider

+
+
+

Qualifications

+

@Html.Raw(string.Join("
", Model.Qualifications))

+
+

diff --git a/src/Employer/Employer.Web/Views/VacancyPreview/VacancyPreview.cshtml b/src/Employer/Employer.Web/Views/VacancyPreview/VacancyPreview.cshtml index 0ef5add152..2d5ef6b9ef 100644 --- a/src/Employer/Employer.Web/Views/VacancyPreview/VacancyPreview.cshtml +++ b/src/Employer/Employer.Web/Views/VacancyPreview/VacancyPreview.cshtml @@ -263,6 +263,21 @@

@string.Join(", ", Model.Skills)

@EditLink(RouteNames.Skills_Get, Model.SkillsSectionState, "desired skills and personal qualities","link-skills")
+
+
+
+

+ + Things to consider (optional) +

+ +

@Model.ThingsToConsider

+ @EditLink(RouteNames.Considerations_Get, Model.ThingsToConsiderSectionState, "things to consider","link-things-to-consider") +
+
+
+
+

@@ -275,18 +290,7 @@ @qualification
}

- @EditLink(RouteNames.Qualifications_Get, Model.QualificationsSectionState, "qualifications","link-qualifications") -

-
-
-
-

- - Things to consider (optional) -

- -

@Model.ThingsToConsider

- @EditLink(RouteNames.Considerations_Get, Model.ThingsToConsiderSectionState, "things to consider","link-things-to-consider") + @EditLink(RouteNames.Qualifications_Get, Model.QualificationsSectionState, "qualifications", "link-qualifications")
diff --git a/src/Provider/Provider.Web/Views/Shared/_EditVacancyPartial.cshtml b/src/Provider/Provider.Web/Views/Shared/_EditVacancyPartial.cshtml index 93607a3a75..8ece9820bf 100644 --- a/src/Provider/Provider.Web/Views/Shared/_EditVacancyPartial.cshtml +++ b/src/Provider/Provider.Web/Views/Shared/_EditVacancyPartial.cshtml @@ -77,14 +77,18 @@

Desired skills and personal qualities

@string.Join(", ", Model.Skills)

-

Qualifications

-

@Html.Raw(string.Join("
", Model.Qualifications))

Things to consider

@Model.ThingsToConsider

+
+
+

Qualifications

+

@Html.Raw(string.Join("
", Model.Qualifications))

+
+

diff --git a/src/Provider/Provider.Web/Views/Shared/_NonEditableVacancyDisplayPartial.cshtml b/src/Provider/Provider.Web/Views/Shared/_NonEditableVacancyDisplayPartial.cshtml index 49b86044f7..c95553205a 100644 --- a/src/Provider/Provider.Web/Views/Shared/_NonEditableVacancyDisplayPartial.cshtml +++ b/src/Provider/Provider.Web/Views/Shared/_NonEditableVacancyDisplayPartial.cshtml @@ -75,14 +75,18 @@

Desired skills and personal qualities

@string.Join(", ", Model.Skills)

-

Qualifications

-

@Html.Raw(string.Join("
", Model.Qualifications))

Things to consider

@Model.ThingsToConsider

+
+
+

Qualifications

+

@Html.Raw(string.Join("
", Model.Qualifications))

+
+

diff --git a/src/Provider/Provider.Web/Views/VacancyPreview/VacancyPreview.cshtml b/src/Provider/Provider.Web/Views/VacancyPreview/VacancyPreview.cshtml index bb44e5e9e7..a6daf8aab4 100644 --- a/src/Provider/Provider.Web/Views/VacancyPreview/VacancyPreview.cshtml +++ b/src/Provider/Provider.Web/Views/VacancyPreview/VacancyPreview.cshtml @@ -261,6 +261,21 @@

@string.Join(", ", Model.Skills)

@EditLink(RouteNames.Skills_Get, Model.SkillsSectionState, "desired skills and personal qualities", "link-skills")
+
+
+
+

+ + Things to consider (optional) +

+ +

@Model.ThingsToConsider

+ @EditLink(RouteNames.Considerations_Get, Model.ThingsToConsiderSectionState, "things to consider", "link-things-to-consider") +
+
+
+
+

@@ -276,17 +291,6 @@ @EditLink(RouteNames.Qualifications_Get, Model.QualificationsSectionState, "qualifications", "link-qualifications")

-
-
-

- - Things to consider (optional) -

- -

@Model.ThingsToConsider

- @EditLink(RouteNames.Considerations_Get, Model.ThingsToConsiderSectionState, "things to consider", "link-things-to-consider") -
-
diff --git a/src/QA/QA.Web/Views/Review/ReadonlyReview.cshtml b/src/QA/QA.Web/Views/Review/ReadonlyReview.cshtml index 2a5212bb82..dec77d552c 100644 --- a/src/QA/QA.Web/Views/Review/ReadonlyReview.cshtml +++ b/src/QA/QA.Web/Views/Review/ReadonlyReview.cshtml @@ -136,6 +136,16 @@

Desired skills and personal qualities

@string.Join(", ", Model.Skills)

+
+
+
+

Things to consider (optional)

+

@Model.ThingsToConsider

+
+
+ +
+

Qualifications

@@ -146,12 +156,6 @@

-
-
-

Things to consider (optional)

-

@Model.ThingsToConsider

-
-
diff --git a/src/QA/QA.Web/Views/Review/Review.cshtml b/src/QA/QA.Web/Views/Review/Review.cshtml index 51b277d59f..30f3a43e6e 100644 --- a/src/QA/QA.Web/Views/Review/Review.cshtml +++ b/src/QA/QA.Web/Views/Review/Review.cshtml @@ -225,6 +225,21 @@ asp-value="@FieldIdentifiers.Skills" asp-items="@Model.FieldIdentifiers">
+
+
+
+

Things to consider (optional)

+ +

@Model.ThingsToConsider

+ + +
+
+ +
+

Qualifications

@@ -238,17 +253,6 @@ asp-items="@Model.FieldIdentifiers">

-
-
-

Things to consider (optional)

- -

@Model.ThingsToConsider

- - -
-