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>
}