From f5499b1755be57e428fd71fa4e4a1f5457e98b8f Mon Sep 17 00:00:00 2001 From: Mads Rasmussen Date: Thu, 31 May 2018 10:42:09 +0200 Subject: [PATCH] fix help drawer --- .../common/drawers/help/help.controller.js | 7 +- .../src/views/common/drawers/help/help.html | 207 +++++++++--------- 2 files changed, 111 insertions(+), 103 deletions(-) diff --git a/src/Umbraco.Web.UI.Client/src/views/common/drawers/help/help.controller.js b/src/Umbraco.Web.UI.Client/src/views/common/drawers/help/help.controller.js index 4d2b43c078..df40539aac 100644 --- a/src/Umbraco.Web.UI.Client/src/views/common/drawers/help/help.controller.js +++ b/src/Umbraco.Web.UI.Client/src/views/common/drawers/help/help.controller.js @@ -6,7 +6,7 @@ var vm = this; var evts = []; - vm.title = localizationService.localize("general_help"); + vm.title = ""; vm.subtitle = "Umbraco version" + " " + Umbraco.Sys.ServerVariables.application.version; vm.section = $routeParams.section; vm.tree = $routeParams.tree; @@ -26,6 +26,11 @@ function oninit() { + // set title + localizationService.localize("general_help").then(function(data){ + vm.title = data; + }); + tourService.getGroupedTours().then(function(groupedTours) { vm.tours = groupedTours; getTourGroupCompletedPercentage(); diff --git a/src/Umbraco.Web.UI.Client/src/views/common/drawers/help/help.html b/src/Umbraco.Web.UI.Client/src/views/common/drawers/help/help.html index 4829c8964a..79c2118aca 100644 --- a/src/Umbraco.Web.UI.Client/src/views/common/drawers/help/help.html +++ b/src/Umbraco.Web.UI.Client/src/views/common/drawers/help/help.html @@ -1,130 +1,133 @@ - +
+ - - + + - + - -
+ +
-
Tours
- -
+
Tours
+ +
-
+
- -
- {{tourGroup.group}} - Other -
- - -
+ +
+ {{tourGroup.group}} + Other +
+ + +
-
-
-
-
-
{{ $index + 1 }}
- - {{ tour.name }} -
-
- - +
+
+
+
+
{{ $index + 1 }}
+ + {{ tour.name }} +
+
+ + +
+
-
- - -