Gets templates working
This commit is contained in:
@@ -36,7 +36,7 @@ namespace Umbraco.Core.Persistence.Factories
|
||||
entity.DisableChangeTracking();
|
||||
|
||||
entity.CreateDate = d.createDate;
|
||||
entity.CreatorId = d.nodeUser;
|
||||
entity.CreatorId = d.nodeUser == null ? 0 : d.nodeUser;
|
||||
entity.Id = d.id;
|
||||
entity.Key = d.uniqueID;
|
||||
entity.Level = d.level;
|
||||
|
||||
@@ -16,6 +16,7 @@ namespace Umbraco.Web.Models.ContentEditing
|
||||
///// A caption for the search result
|
||||
///// </summary>
|
||||
//[DataMember(Name = "caption")]
|
||||
//public string Caption { get; set; }
|
||||
//public string Caption { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
@@ -94,6 +94,8 @@ namespace Umbraco.Web.Models.Mapping
|
||||
basic.Icon = "icon-item-arrangement";
|
||||
else if (entity.NodeObjectTypeId == Constants.ObjectTypes.MediaTypeGuid)
|
||||
basic.Icon = "icon-thumbnails";
|
||||
else if (entity.NodeObjectTypeId == Constants.ObjectTypes.TemplateTypeGuid)
|
||||
basic.Icon = "icon-newspaper-alt";
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user