Default contenttype icons
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user