Default contenttype icons

This commit is contained in:
Per Ploug
2015-09-23 21:01:32 +02:00
parent 1d23d2b7c6
commit 9f9946eb1f
3 changed files with 5 additions and 1 deletions

View File

@@ -184,7 +184,7 @@ namespace Umbraco.Web.Editors
public ContentTypeDisplay GetEmpty(int parentId)
{
var ct = new ContentType(parentId);
ct.Icon = "icon-doc";
ct.Icon = "icon-document";
var dto = Mapper.Map<IContentType, ContentTypeDisplay>(ct);
return dto;

View File

@@ -83,6 +83,8 @@ namespace Umbraco.Web.Editors
public ContentTypeCompositionDisplay GetEmpty()
{
var ct = new MediaType(-1);
ct.Icon = "icon-picture";
var dto = Mapper.Map<IMediaType, ContentTypeCompositionDisplay>(ct);
return dto;
}

View File

@@ -85,6 +85,8 @@ namespace Umbraco.Web.Editors
public ContentTypeCompositionDisplay GetEmpty()
{
var ct = new MemberType(-1);
ct.Icon = "icon-user";
var dto = Mapper.Map<IMemberType, ContentTypeCompositionDisplay>(ct);
return dto;
}