diff --git a/NzbDrone.Web/Views/Shared/_Layout.cshtml b/NzbDrone.Web/Views/Shared/_Layout.cshtml index f4d8ec5a6..c7217ff8f 100644 --- a/NzbDrone.Web/Views/Shared/_Layout.cshtml +++ b/NzbDrone.Web/Views/Shared/_Layout.cshtml @@ -4,41 +4,42 @@ @using NzbDrone.Web.Helpers @section HeaderContent { - @MvcMiniProfiler.MiniProfiler.RenderIncludes() + @if (!EnviromentProvider.IsProduction) + { + @MvcMiniProfiler.MiniProfiler.RenderIncludes() + } @RenderSection("HeaderContent", required: false) } - - -
- - -
- @RenderSection("ActionMenu", required: false) - @RenderBody() -
- +
+ + +
+ @RenderSection("ActionMenu", required: false) + @RenderBody()
-
- background notification + +
+
+ background notification +
@section Scripts { @RenderSection("Scripts", required: false) - @if (EnviromentProvider.IsProduction) + @if (EnviromentProvider.IsProduction) {