started updating the content type mapping.

This commit is contained in:
Shannon
2015-06-04 16:52:22 +02:00
parent 2fe00d6455
commit 087c07bcbd
8 changed files with 184 additions and 66 deletions

View File

@@ -17,7 +17,7 @@ namespace Umbraco.Web.Models.ContentEditing
AvailableCompositeContentTypes = new List<EntityBasic>();
AllowedContentTypes = new List<EntityBasic>();
CompositeContentTypes = new List<string>();
Groups = new List<PropertyTypeGroupDisplay>();
Groups = new List<PropertyGroupDisplay>();
}
//name, alias, icon, thumb, desc, inherited from basic
@@ -54,6 +54,6 @@ namespace Umbraco.Web.Models.ContentEditing
//Tabs
[DataMember(Name = "groups")]
public IEnumerable<PropertyTypeGroupDisplay> Groups { get; set; }
public IEnumerable<PropertyGroupDisplay> Groups { get; set; }
}
}

View File

@@ -7,10 +7,10 @@ using System.Threading.Tasks;
namespace Umbraco.Web.Models.ContentEditing
{
[DataContract(Name = "propertyTypeGroup", Namespace = "")]
public class PropertyTypeGroupDisplay
[DataContract(Name = "propertyGroup", Namespace = "")]
public class PropertyGroupDisplay
{
public PropertyTypeGroupDisplay()
public PropertyGroupDisplay()
{
Properties = new List<PropertyTypeDisplay>();
}