diff --git a/Childrens-Social-Care-CPD/Views/Shared/_AreaOfPractice.cshtml b/Childrens-Social-Care-CPD/Views/Shared/_AreaOfPractice.cshtml index 6f37c065..2b92f2d3 100644 --- a/Childrens-Social-Care-CPD/Views/Shared/_AreaOfPractice.cshtml +++ b/Childrens-Social-Care-CPD/Views/Shared/_AreaOfPractice.cshtml @@ -26,63 +26,63 @@ }
-
- Areas of practice -

@Model.Title

-
+ + Areas of practice +

@Model.Title

+
-
-
+ +
+
+
+ Summary +
+
+ @Model.Summary +
+
+ + @if (!string.IsNullOrEmpty(Model.OtherNames)) + {
- Summary + Other names
- @Model.Summary + @Model.OtherNames
+ } +
- @if (!string.IsNullOrEmpty(Model.OtherNames)) - { -
-
- Other names -
-
- @Model.OtherNames -
-
- } -
- -
+
- @if (Model.WhatYoullDo != null) - { - await RenderAccordianSection("What you'll do", Model.WhatYoullDo, 1); - } + @if (Model.WhatYoullDo != null) + { + await RenderAccordianSection("What you'll do", Model.WhatYoullDo, 1); + } - @if (Model.SkillsAndKnowledge != null) - { - await RenderAccordianSection("Skills and knowledge", Model.SkillsAndKnowledge, 2); - } + @if (Model.SkillsAndKnowledge != null) + { + await RenderAccordianSection("Skills and knowledge", Model.SkillsAndKnowledge, 2); + } - @if (Model.WhoYouWillWorkWith != null) - { - await RenderAccordianSection("Who you'll work with", Model.WhoYouWillWorkWith, 3); - } + @if (Model.WhoYouWillWorkWith != null) + { + await RenderAccordianSection("Who you'll work with", Model.WhoYouWillWorkWith, 3); + } - @if (Model.HowYouWillWork != null) - { - await RenderAccordianSection("How you'll work", Model.HowYouWillWork, 4); - } + @if (Model.HowYouWillWork != null) + { + await RenderAccordianSection("How you'll work", Model.HowYouWillWork, 4); + } - @if (Model.CurrentOpportunities != null) - { - await RenderAccordianSection("Current opportunities", Model.CurrentOpportunities, 5); - } -
+ @if (Model.CurrentOpportunities != null) + { + await RenderAccordianSection("Current opportunities", Model.CurrentOpportunities, 5); + }
+
\ No newline at end of file diff --git a/Childrens-Social-Care-CPD/Views/Shared/_AreaOfPracticeList.cshtml b/Childrens-Social-Care-CPD/Views/Shared/_AreaOfPracticeList.cshtml index 938270df..2d1e0490 100644 --- a/Childrens-Social-Care-CPD/Views/Shared/_AreaOfPracticeList.cshtml +++ b/Childrens-Social-Care-CPD/Views/Shared/_AreaOfPracticeList.cshtml @@ -6,7 +6,5 @@ @inject IRenderer _inlineAreaOfPracticeListRenderer
-
- @_inlineAreaOfPracticeListRenderer.Render(Model) -
+ @_inlineAreaOfPracticeListRenderer.Render(Model)
diff --git a/Childrens-Social-Care-CPD/Views/Shared/_ColumnLayout.cshtml b/Childrens-Social-Care-CPD/Views/Shared/_ColumnLayout.cshtml index 9c090c46..44cdd648 100644 --- a/Childrens-Social-Care-CPD/Views/Shared/_ColumnLayout.cshtml +++ b/Childrens-Social-Care-CPD/Views/Shared/_ColumnLayout.cshtml @@ -10,10 +10,10 @@ @foreach (var group in Model.Items.Select((e, i) => new { ContentItem = e, Grouping = (i / Model.ColumnCount) }).GroupBy(e => e.Grouping)) { -
+
@foreach (var item in group) { -
+
@{ await Html.RenderContentfulPartialAsync(item.ContentItem); }
} diff --git a/Childrens-Social-Care-CPD/Views/Shared/_DetailedRole.cshtml b/Childrens-Social-Care-CPD/Views/Shared/_DetailedRole.cshtml index df4ea4c2..b5e9e993 100644 --- a/Childrens-Social-Care-CPD/Views/Shared/_DetailedRole.cshtml +++ b/Childrens-Social-Care-CPD/Views/Shared/_DetailedRole.cshtml @@ -26,73 +26,69 @@ }
-
-

@Model.Title

-
+

@Model.Title

-
-
- @if(!string.IsNullOrEmpty(Model.SalaryRange)) +
+ @if(!string.IsNullOrEmpty(Model.SalaryRange)) + { +
+
+ Salary range +
+
+ @Model.SalaryRange depending on location, responsibilities and experience +
+
+ } +
+
+ Summary +
+
+ @Model.Summary +
+
+ + @if (!string.IsNullOrEmpty(Model.OtherNames)) {
- Salary range + Other names
- @Model.SalaryRange depending on location, responsibilities and experience + @Model.OtherNames
} -
-
- Summary -
-
- @Model.Summary -
-
+
- @if (!string.IsNullOrEmpty(Model.OtherNames)) - { -
-
- Other names -
-
- @Model.OtherNames -
-
- } -
+
-
- - @if (Model.WhatYoullDo != null) - { - await RenderAccordianSection("What you'll do", Model.WhatYoullDo, 1); - } + @if (Model.WhatYoullDo != null) + { + await RenderAccordianSection("What you'll do", Model.WhatYoullDo, 1); + } - @if (Model.SkillsAndKnowledge != null) - { - await RenderAccordianSection("Skills and knowledge", Model.SkillsAndKnowledge, 2); - } + @if (Model.SkillsAndKnowledge != null) + { + await RenderAccordianSection("Skills and knowledge", Model.SkillsAndKnowledge, 2); + } - @if (Model.HowToBecomeOne != null) - { - await RenderAccordianSection("How to become one", Model.HowToBecomeOne, 3); - } + @if (Model.HowToBecomeOne != null) + { + await RenderAccordianSection("How to become one", Model.HowToBecomeOne, 3); + } - @if (Model.CareerPathsAndProgression != null) - { - await RenderAccordianSection("Career paths and progression", Model.CareerPathsAndProgression, 4); - } + @if (Model.CareerPathsAndProgression != null) + { + await RenderAccordianSection("Career paths and progression", Model.CareerPathsAndProgression, 4); + } - @if (Model.CurrentOpportunities != null) - { - await RenderAccordianSection("Current opportunities", Model.CurrentOpportunities, 5); - } -
+ @if (Model.CurrentOpportunities != null) + { + await RenderAccordianSection("Current opportunities", Model.CurrentOpportunities, 5); + }
\ No newline at end of file diff --git a/Childrens-Social-Care-CPD/Views/Shared/_LinkCard.cshtml b/Childrens-Social-Care-CPD/Views/Shared/_LinkCard.cshtml index d5f8fa7c..930e0a1a 100644 --- a/Childrens-Social-Care-CPD/Views/Shared/_LinkCard.cshtml +++ b/Childrens-Social-Care-CPD/Views/Shared/_LinkCard.cshtml @@ -5,7 +5,7 @@ @model LinkCard @inject IRendererWithOptions _contentLinkRenderer -
+
@_contentLinkRenderer.Render(Model.TitleLink, new RendererOptions("govuk-link--no-visited-state dfe-card-link--header")) diff --git a/Childrens-Social-Care-CPD/Views/Shared/_RoleList.cshtml b/Childrens-Social-Care-CPD/Views/Shared/_RoleList.cshtml index 71955fee..2749af5d 100644 --- a/Childrens-Social-Care-CPD/Views/Shared/_RoleList.cshtml +++ b/Childrens-Social-Care-CPD/Views/Shared/_RoleList.cshtml @@ -6,8 +6,6 @@ @inject IRenderer _inlineRoleListRenderer
-
-

@Model.Title

- @_inlineRoleListRenderer.Render(Model) -
+

@Model.Title

+ @_inlineRoleListRenderer.Render(Model)