Merge branch 'temp8' into temp8-3087-tree-grouping
# Conflicts: # src/Umbraco.Web.UI/Umbraco/config/lang/en.xml # src/Umbraco.Web.UI/Umbraco/config/lang/en_us.xml # src/Umbraco.Web.UI/Umbraco/config/lang/es.xml # src/Umbraco.Web.UI/Umbraco/config/lang/nl.xml # src/Umbraco.Web.UI/Umbraco/config/lang/tr.xml # src/Umbraco.Web.UI/umbraco/config/lang/nb.xml # src/Umbraco.Web.UI/umbraco/config/lang/zh_tw.xml # src/Umbraco.Web/Trees/DictionaryTreeController.cs
This commit is contained in:
@@ -7,7 +7,7 @@ using Constants = Umbraco.Core.Constants;
|
||||
namespace Umbraco.Web.Trees
|
||||
{
|
||||
[UmbracoTreeAuthorize(Constants.Trees.Languages)]
|
||||
[Tree(Constants.Applications.Settings, Constants.Trees.Languages, null, sortOrder: 5)]
|
||||
[Tree(Constants.Applications.Settings, Constants.Trees.Languages, null, sortOrder: 11)]
|
||||
[PluginController("UmbracoTrees")]
|
||||
[CoreTree(TreeGroup = Constants.Trees.Groups.Settings)]
|
||||
public class LanguageTreeController : TreeController
|
||||
@@ -33,7 +33,7 @@ namespace Umbraco.Web.Trees
|
||||
var root = base.CreateRootNode(queryStrings);
|
||||
|
||||
//this will load in a custom UI instead of the dashboard for the root node
|
||||
root.RoutePath = string.Format("{0}/{1}/{2}", Constants.Applications.Settings, Constants.Trees.Languages, "overview");
|
||||
root.RoutePath = $"{Constants.Applications.Settings}/{Constants.Trees.Languages}/overview";
|
||||
root.Icon = "icon-globe";
|
||||
root.HasChildren = false;
|
||||
root.MenuUrl = null;
|
||||
|
||||
Reference in New Issue
Block a user