1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-09-20 00:11:46 +02:00

MVC miniprofile is no longer rendered in production

This commit is contained in:
kay.one 2011-12-08 20:04:06 -08:00
parent a681024db2
commit 25ecd45d9b

View File

@ -4,12 +4,13 @@
@using NzbDrone.Web.Helpers
@section HeaderContent
{
@if (!EnviromentProvider.IsProduction)
{
@MvcMiniProfiler.MiniProfiler.RenderIncludes()
}
@RenderSection("HeaderContent", required: false)
}
<body>
<div id="centered">
<div id="centered">
<div id="menu">
<ul>
@MvcHtmlString.Create(Html.CurrentActionLink("Series", "Index", "Series"))
@ -31,10 +32,10 @@
<div id="footer">
@{Html.RenderAction("Footer", "Shared");}
</div>
</div>
<div id="msgBox">
</div>
<div id="msgBox">
<span id="msgText">background notification</span>
</div>
</div>
@section Scripts
{
@RenderSection("Scripts", required: false)