Page title configurable at deploy

This commit is contained in:
2016-08-19 10:22:42 -04:00
parent 26169a30b4
commit a9cb9d36b5
8 changed files with 27 additions and 11 deletions
+10
View File
@@ -0,0 +1,10 @@
@using System.Configuration
@if (!string.IsNullOrEmpty(ConfigurationManager.AppSettings["AgencyName"]))
{
<text>Mileage Traker - @ConfigurationManager.AppSettings["AgencyName"] - @ViewBag.Title</text>
}
else
{
<text>Mileage Traker - @ViewBag.Title</text>
}
+8 -8
View File
@@ -1,14 +1,14 @@
<!DOCTYPE html>
<html>
<head>
<title>Mileage Traker - ETHRA - @ViewBag.Title</title>
<title>@Html.Partial("PageTitle")</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<link href="@Url.Content("~/Content/themes/custom-theme/jquery-ui-1.10.4.custom.min.css")" rel="stylesheet" type="text/css" />
<link href="@Url.Content("~/Content/bootstrap.min.css")" rel="stylesheet" type="text/css" />
<link href="@Url.Content("~/Content/bootstrap-responsive.min.css")" rel="stylesheet" type="text/css" />
<link href="@Url.Content("~/Content/jquery.qtip.min.css")" rel="stylesheet" type="text/css" />
<link href="@Url.Content("~/Content/font-awesome.min.css")" rel="stylesheet" type="text/css" />
<link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css" />
<link href="@Url.Content("~/Content/themes/custom-theme/jquery-ui-1.10.4.custom.min.css")" rel="stylesheet" type="text/css"/>
<link href="@Url.Content("~/Content/bootstrap.min.css")" rel="stylesheet" type="text/css"/>
<link href="@Url.Content("~/Content/bootstrap-responsive.min.css")" rel="stylesheet" type="text/css"/>
<link href="@Url.Content("~/Content/jquery.qtip.min.css")" rel="stylesheet" type="text/css"/>
<link href="@Url.Content("~/Content/font-awesome.min.css")" rel="stylesheet" type="text/css"/>
<link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css"/>
@RenderSection("Styles", false)
</head>
<body>
@@ -75,7 +75,7 @@
@RenderBody()
</div>
<footer>
Mileage Traker &copy; 2015 Kolpack Software Consulting LLC, ETHRA
Mileage Traker &copy; 2016 Kolpack Software Consulting LLC
</footer>
<script src="@Url.Content("~/Scripts/jquery-2.1.4.min.js")" type="text/javascript"></script>
+1 -1
View File
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<title>Mileage Traker - ETHRA - @ViewBag.Title</title>
<title>@Html.Partial("PageTitle")</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<link href="@Url.Content("~/Content/themes/custom-theme/jquery-ui-1.10.4.custom.min.css")" rel="stylesheet" type="text/css" />
<link href="@Url.Content("~/Content/bootstrap.min.css")" rel="stylesheet" type="text/css" />
+1 -1
View File
@@ -23,7 +23,7 @@
Key
</th>
<th>
Ethra Id
Id
</th>
<th>
Year, Make, Model