mirror of https://github.com/lidarr/Lidarr
MVC miniprofile is no longer rendered in production
This commit is contained in:
parent
a681024db2
commit
25ecd45d9b
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue