Page title configurable at deploy
This commit is contained in:
@@ -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>
|
||||
}
|
||||
Reference in New Issue
Block a user