Adds contentype alias to media and cotnent tree nodes

This commit is contained in:
perploug
2013-10-27 14:12:27 +01:00
parent d86654fa6b
commit ab36687c85
3 changed files with 32 additions and 6 deletions

View File

@@ -80,6 +80,8 @@ namespace Umbraco.Web.Trees
e.ContentTypeIcon,
hasChildren);
node.AdditionalData.Add("contentType", e.ContentTypeAlias);
if (e.IsPublished == false)
node.SetNotPublishedStyle();