mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 10:47:08 -07:00
Page banner is now used for browser title.
This commit is contained in:
parent
418fcbd91e
commit
4f09778f98
17 changed files with 28 additions and 50 deletions
|
@ -4,6 +4,15 @@
|
|||
@using NzbDrone.Web.Helpers
|
||||
@section HeaderContent
|
||||
{
|
||||
@if (string.IsNullOrWhiteSpace(ViewBag.Title) || String.Equals(ViewBag.Title, "NzbDrone", StringComparison.InvariantCultureIgnoreCase))
|
||||
{
|
||||
ViewBag.Title = "NzbDrone";
|
||||
}
|
||||
else
|
||||
{
|
||||
ViewBag.Title = String.Format("{0} - NzbDrone", ViewBag.Title);
|
||||
}
|
||||
<title>@ViewBag.Title</title>
|
||||
@if (!EnviromentProvider.IsProduction)
|
||||
{
|
||||
@MvcMiniProfiler.MiniProfiler.RenderIncludes()
|
||||
|
@ -23,7 +32,7 @@
|
|||
<input id="localSeriesLookup" type="text" />
|
||||
</div>
|
||||
<div id="logo">
|
||||
@RenderSection("TitleContent", required: false)
|
||||
@ViewBag.Title
|
||||
</div>
|
||||
<div id="page">
|
||||
@RenderSection("ActionMenu", required: false)
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head runat="server">
|
||||
<link rel="SHORTCUT ICON" href="../../favicon.ico" />
|
||||
<title>NzbDrone</title>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
@Html.IncludeCss("2011.3.1115/telerik.common.min.css")
|
||||
@Html.IncludeCss("2011.3.1115/telerik.sitefinity.min.css")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue