Page title configurable at deploy
This commit is contained in:
@@ -170,3 +170,4 @@ pip-log.txt
|
|||||||
Notes/papercut/*.eml
|
Notes/papercut/*.eml
|
||||||
|
|
||||||
*/App_Data/Uploads
|
*/App_Data/Uploads
|
||||||
|
/logs*
|
||||||
|
|||||||
@@ -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>
|
||||||
|
}
|
||||||
@@ -1,14 +1,14 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Mileage Traker - ETHRA - @ViewBag.Title</title>
|
<title>@Html.Partial("PageTitle")</title>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
<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/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.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/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/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/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/Site.css")" rel="stylesheet" type="text/css"/>
|
||||||
@RenderSection("Styles", false)
|
@RenderSection("Styles", false)
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
@@ -75,7 +75,7 @@
|
|||||||
@RenderBody()
|
@RenderBody()
|
||||||
</div>
|
</div>
|
||||||
<footer>
|
<footer>
|
||||||
Mileage Traker © 2015 Kolpack Software Consulting LLC, ETHRA
|
Mileage Traker © 2016 Kolpack Software Consulting LLC
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
<script src="@Url.Content("~/Scripts/jquery-2.1.4.min.js")" type="text/javascript"></script>
|
<script src="@Url.Content("~/Scripts/jquery-2.1.4.min.js")" type="text/javascript"></script>
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Mileage Traker - ETHRA - @ViewBag.Title</title>
|
<title>@Html.Partial("PageTitle")</title>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
<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/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.min.css")" rel="stylesheet" type="text/css" />
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
Key
|
Key
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
Ethra Id
|
Id
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
Year, Make, Model
|
Year, Make, Model
|
||||||
|
|||||||
@@ -28,7 +28,10 @@
|
|||||||
</customErrors>
|
</customErrors>
|
||||||
-->
|
-->
|
||||||
</system.web>
|
</system.web>
|
||||||
<system.net>
|
<appSettings>
|
||||||
|
<add xdt:Locator="Condition(@key='AgencyName')" xdt:Transform="SetAttributes" value="ETHRA" />
|
||||||
|
</appSettings>
|
||||||
|
<system.net>
|
||||||
<mailSettings>
|
<mailSettings>
|
||||||
<smtp>
|
<smtp>
|
||||||
<network xdt:Transform="SetAttributes" host="Exchange2010.ethra.org" />
|
<network xdt:Transform="SetAttributes" host="Exchange2010.ethra.org" />
|
||||||
|
|||||||
@@ -13,6 +13,7 @@
|
|||||||
<add key="ClientValidationEnabled" value="true" />
|
<add key="ClientValidationEnabled" value="true" />
|
||||||
<add key="UnobtrusiveJavaScriptEnabled" value="true" />
|
<add key="UnobtrusiveJavaScriptEnabled" value="true" />
|
||||||
<add key="enableSimpleMembership" value="false" />
|
<add key="enableSimpleMembership" value="false" />
|
||||||
|
<add key="AgencyName" value="" />
|
||||||
<add key="EmailFromAddress" value="Mileage Traker <noreply@ethra.org>" />
|
<add key="EmailFromAddress" value="Mileage Traker <noreply@ethra.org>" />
|
||||||
<add key="ResetPasswordSubject" value="New Mileage Traker Password Request" />
|
<add key="ResetPasswordSubject" value="New Mileage Traker Password Request" />
|
||||||
<add key="ResetPasswordBody" value="Hello {1}, please open this link to set a new password for your Mileage Traker account: {0}" />
|
<add key="ResetPasswordBody" value="Hello {1}, please open this link to set a new password for your Mileage Traker account: {0}" />
|
||||||
|
|||||||
@@ -393,6 +393,7 @@
|
|||||||
<Content Include="Views\VehicleService\UpcomingServiceReminders.cshtml" />
|
<Content Include="Views\VehicleService\UpcomingServiceReminders.cshtml" />
|
||||||
<Content Include="Views\Vehicle\VehicleCostReport.cshtml" />
|
<Content Include="Views\Vehicle\VehicleCostReport.cshtml" />
|
||||||
<Content Include="Views\Vehicle\VehicleCostIndex.cshtml" />
|
<Content Include="Views\Vehicle\VehicleCostIndex.cshtml" />
|
||||||
|
<Content Include="Views\Shared\PageTitle.cshtml" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Content Include="Content\Account.Login.css" />
|
<Content Include="Content\Account.Login.css" />
|
||||||
|
|||||||
Reference in New Issue
Block a user