diff --git a/src/Elastic.ApiExplorer/_Partials/_HttpMethodBadge.cshtml b/src/Elastic.ApiExplorer/_Partials/_HttpMethodBadge.cshtml index 36e2f17595..f510094767 100644 --- a/src/Elastic.ApiExplorer/_Partials/_HttpMethodBadge.cshtml +++ b/src/Elastic.ApiExplorer/_Partials/_HttpMethodBadge.cshtml @@ -4,21 +4,11 @@ @Model.ToUpperInvariant() diff --git a/src/Elastic.Documentation.Site/Navigation/_NavHttpMethodGlyph.cshtml b/src/Elastic.Documentation.Site/Navigation/_NavHttpMethodGlyph.cshtml index 1efdc24287..9975b8ec90 100644 --- a/src/Elastic.Documentation.Site/Navigation/_NavHttpMethodGlyph.cshtml +++ b/src/Elastic.Documentation.Site/Navigation/_NavHttpMethodGlyph.cshtml @@ -1,42 +1,17 @@ @inherits RazorSlice @if (Model.IsMultiOperation) { - - - + } else if (Model.HttpMethod is { } httpMethod) { - - @if (httpMethod == "delete") - { - - } - else - { - - } - + var m = httpMethod.ToUpperInvariant(); + if (httpMethod == "delete") + { + + } + else + { + + } } diff --git a/src/Elastic.Documentation.Site/Navigation/_TocTreeNavLegacy.cshtml b/src/Elastic.Documentation.Site/Navigation/_TocTreeNavLegacy.cshtml index 1471efe642..2045ccdbb1 100644 --- a/src/Elastic.Documentation.Site/Navigation/_TocTreeNavLegacy.cshtml +++ b/src/Elastic.Documentation.Site/Navigation/_TocTreeNavLegacy.cshtml @@ -54,9 +54,11 @@ } - + } else @@ -82,9 +84,11 @@ } - + } } diff --git a/src/Elastic.Documentation.Site/_GlobalLayout.cshtml b/src/Elastic.Documentation.Site/_GlobalLayout.cshtml index 38a9605e8d..b6f74ebf1e 100644 --- a/src/Elastic.Documentation.Site/_GlobalLayout.cshtml +++ b/src/Elastic.Documentation.Site/_GlobalLayout.cshtml @@ -50,6 +50,19 @@ + + + + + + + + + + + + + @if (Model.GoogleTagManager.Enabled)