_contentLinkRenderer
-@{
- var prefsHaveBeenSet = _cookieHelper.GetRequestAnalyticsCookieState(Context) != AnalyticsConsentState.NotSet;
-}
-
@if (ViewBag.ContextModel.PreferenceSet)
{
diff --git a/Childrens-Social-Care-CPD/Views/Shared/_ContentSeparator.cshtml b/Childrens-Social-Care-CPD/Views/Shared/_ContentSeparator.cshtml
index f0452a86..86a0a4bf 100644
--- a/Childrens-Social-Care-CPD/Views/Shared/_ContentSeparator.cshtml
+++ b/Childrens-Social-Care-CPD/Views/Shared/_ContentSeparator.cshtml
@@ -6,16 +6,16 @@
switch (Model.Type)
{
case "Extra Large" :
-
;
+
break;
case "Large" :
-
;
+
break;
case "Medium":
- ; break;
+ break;
case "Small":
- ; break;
+ break;
}
}
diff --git a/Childrens-Social-Care-CPD/Views/Shared/_RichText.cshtml b/Childrens-Social-Care-CPD/Views/Shared/_RichText.cshtml
index 96c71408..de1994da 100644
--- a/Childrens-Social-Care-CPD/Views/Shared/_RichText.cshtml
+++ b/Childrens-Social-Care-CPD/Views/Shared/_RichText.cshtml
@@ -29,19 +29,18 @@
case HorizontalRuler hr: @_horizontalRulerRenderer.Render(hr); break;
case Paragraph paragraph: @_paragraphRenderer.Render(paragraph); break;
case List list: @_listRenderer.Render(list); break;
- case Heading1 heading1: @_heading1Renderer.Render(heading1); break;
- case Heading2 heading2: @_heading2Renderer.Render(heading2); break;
- case Heading3 heading3: @_heading3Renderer.Render(heading3); break;
- case Heading4 heading4: @_heading4Renderer.Render(heading4); break;
- case Heading5 heading5: @_heading5Renderer.Render(heading5); break;
- case Heading6 heading6: @_heading6Renderer.Render(heading6); break;
- case Table table: @_tableRenderer.Render(table); break;
- case Quote quote: @_quoteRenderer.Render(quote)
- ; break;
+ case Heading1 heading1: @_heading1Renderer.Render(heading1) break;
+ case Heading2 heading2: @_heading2Renderer.Render(heading2) break;
+ case Heading3 heading3: @_heading3Renderer.Render(heading3) break;
+ case Heading4 heading4: @_heading4Renderer.Render(heading4) break;
+ case Heading5 heading5: @_heading5Renderer.Render(heading5) break;
+ case Heading6 heading6: @_heading6Renderer.Render(heading6) break;
+ case Table table: @_tableRenderer.Render(table) break;
+ case Quote quote: @_quoteRenderer.Render(quote) break;
case EntryStructure entryStructure: {
switch (entryStructure.Data.Target)
{
- case RoleList roleList: @_roleListRenderer.Render(roleList); break;
+ case RoleList roleList: @_roleListRenderer.Render(roleList) break;
}
break;
}
diff --git a/Childrens-Social-Care-CPD/Views/Shared/_RichTextBlock.cshtml b/Childrens-Social-Care-CPD/Views/Shared/_RichTextBlock.cshtml
index 0dac80bf..fdcb2fec 100644
--- a/Childrens-Social-Care-CPD/Views/Shared/_RichTextBlock.cshtml
+++ b/Childrens-Social-Care-CPD/Views/Shared/_RichTextBlock.cshtml
@@ -15,7 +15,7 @@
var tagBuilder = new TagBuilder($"h{level}");
tagBuilder.InnerHtml.Append(Model.Title);
- @tagBuilder;
+ @tagBuilder
}
}
}