diff --git a/src/Umbraco.Web.UI.Client/src/views/common/overlays/templatesections/templatesections.controller.js b/src/Umbraco.Web.UI.Client/src/views/common/overlays/templatesections/templatesections.controller.js index 31eeab0008..cb5da443b6 100644 --- a/src/Umbraco.Web.UI.Client/src/views/common/overlays/templatesections/templatesections.controller.js +++ b/src/Umbraco.Web.UI.Client/src/views/common/overlays/templatesections/templatesections.controller.js @@ -19,10 +19,10 @@ function onInit() { - if($scope.model.isMasterTemplate) { - $scope.model.insertType = 'renderBody'; - } else { + if($scope.model.hasMaster) { $scope.model.insertType = 'addSection'; + } else { + $scope.model.insertType = 'renderBody'; } } diff --git a/src/Umbraco.Web.UI.Client/src/views/common/overlays/templatesections/templatesections.html b/src/Umbraco.Web.UI.Client/src/views/common/overlays/templatesections/templatesections.html index 2c3b7f0147..36af4a2798 100644 --- a/src/Umbraco.Web.UI.Client/src/views/common/overlays/templatesections/templatesections.html +++ b/src/Umbraco.Web.UI.Client/src/views/common/overlays/templatesections/templatesections.html @@ -1,6 +1,6 @@
-
+
Render child template
@@ -9,7 +9,7 @@
-
+
Render a named section