diff --git a/src/Umbraco.Web.UI.Client/src/index.html b/src/Umbraco.Web.UI.Client/src/index.html index 34656d0759..16bf7b4721 100644 --- a/src/Umbraco.Web.UI.Client/src/index.html +++ b/src/Umbraco.Web.UI.Client/src/index.html @@ -5,7 +5,7 @@ - Umbraco + Umbraco diff --git a/src/Umbraco.Web.UI.Client/src/init.js b/src/Umbraco.Web.UI.Client/src/init.js index 7ecc722acd..0811d5b650 100644 --- a/src/Umbraco.Web.UI.Client/src/init.js +++ b/src/Umbraco.Web.UI.Client/src/init.js @@ -15,6 +15,13 @@ app.run(['userService', '$log', '$rootScope', '$location', 'navigationService', firstRun = false; userService.getCurrentUser({ broadcastEvent: true }); } + + if(current.params.section){ + $rootScope.locationTitle = current.params.section + " - " + $location.$$host; + }else{ + $rootScope.locationTitle = "Umbraco - " + $location.$$host; + } + }); /** When the route change is rejected - based on checkAuth - we'll prevent the rejected route from executing including diff --git a/src/Umbraco.Web.UI/umbraco/Views/Default.cshtml b/src/Umbraco.Web.UI/umbraco/Views/Default.cshtml index 552eb27141..ebf1033689 100644 --- a/src/Umbraco.Web.UI/umbraco/Views/Default.cshtml +++ b/src/Umbraco.Web.UI/umbraco/Views/Default.cshtml @@ -17,7 +17,7 @@ - Umbraco + Umbraco diff --git a/src/Umbraco.Web.UI/umbraco/js/init.js b/src/Umbraco.Web.UI/umbraco/js/init.js index 7ecc722acd..0811d5b650 100644 --- a/src/Umbraco.Web.UI/umbraco/js/init.js +++ b/src/Umbraco.Web.UI/umbraco/js/init.js @@ -15,6 +15,13 @@ app.run(['userService', '$log', '$rootScope', '$location', 'navigationService', firstRun = false; userService.getCurrentUser({ broadcastEvent: true }); } + + if(current.params.section){ + $rootScope.locationTitle = current.params.section + " - " + $location.$$host; + }else{ + $rootScope.locationTitle = "Umbraco - " + $location.$$host; + } + }); /** When the route change is rejected - based on checkAuth - we'll prevent the rejected route from executing including