Merge pull request #2435 from madsoulswe/temp-U4-10953

U4-10953- Help-drawer, (caption + h3 -> h5
This commit is contained in:
Sebastiaan Janssen
2018-02-09 13:32:32 +01:00
committed by GitHub
2 changed files with 2 additions and 1 deletions

View File

@@ -53,7 +53,7 @@
<div ng-repeat="tab in vm.customDashboard">
<div ng-repeat="property in tab.properties">
<div>
<h3 ng-if="property.caption">{{property.caption}}</h3>
<h5 ng-if="property.caption">{{property.caption}}</h5>
<div ng-include="property.path"></div>
</div>
</div>

View File

@@ -69,6 +69,7 @@ namespace Umbraco.Web.Editors
var dashboardControl = new DashboardControl();
var controlPath = control.ControlPath.Trim();
dashboardControl.Caption = control.PanelCaption;
dashboardControl.Path = IOHelper.FindFile(controlPath);
if (controlPath.ToLowerInvariant().EndsWith(".ascx".ToLowerInvariant()))
dashboardControl.ServerSide = true;