diff --git a/src/Umbraco.Web.UI.Client/src/common/directives/components/application/sectionicon.directive.js b/src/Umbraco.Web.UI.Client/src/common/directives/components/application/sectionicon.directive.js
deleted file mode 100644
index 28b6620aeb..0000000000
--- a/src/Umbraco.Web.UI.Client/src/common/directives/components/application/sectionicon.directive.js
+++ /dev/null
@@ -1,30 +0,0 @@
-angular.module("umbraco.directives")
-.directive('sectionIcon', function ($compile, iconHelper) {
- return {
- restrict: 'E',
- replace: true,
-
- link: function (scope, element, attrs) {
-
- var icon = attrs.icon;
-
- if (iconHelper.isLegacyIcon(icon)) {
- //its a known legacy icon, convert to a new one
- element.html("");
- }
- else if (iconHelper.isFileBasedIcon(icon)) {
- var convert = iconHelper.convertFromLegacyImage(icon);
- if(convert){
- element.html("");
- }else{
- element.html("
");
- }
- //it's a file, normally legacy so look in the icon tray images
- }
- else {
- //it's normal
- element.html("");
- }
- }
- };
-});
\ No newline at end of file
diff --git a/src/Umbraco.Web.UI.Client/src/less/helveticons.less b/src/Umbraco.Web.UI.Client/src/less/helveticons.less
index 1083a490e0..82663270e9 100644
--- a/src/Umbraco.Web.UI.Client/src/less/helveticons.less
+++ b/src/Umbraco.Web.UI.Client/src/less/helveticons.less
@@ -1875,3 +1875,6 @@ i.small{
.icon-alert-alt:before {
content: "\e25d";
}
+.icon-section:before {
+ content: "\e24f";
+}
diff --git a/src/Umbraco.Web.UI.Client/src/views/common/infiniteeditors/sectionpicker/sectionpicker.controller.js b/src/Umbraco.Web.UI.Client/src/views/common/infiniteeditors/sectionpicker/sectionpicker.controller.js
index d6e8978e38..55d7a75000 100644
--- a/src/Umbraco.Web.UI.Client/src/views/common/infiniteeditors/sectionpicker/sectionpicker.controller.js
+++ b/src/Umbraco.Web.UI.Client/src/views/common/infiniteeditors/sectionpicker/sectionpicker.controller.js
@@ -78,7 +78,7 @@
function setSectionIcon(sections) {
angular.forEach(sections, function(section) {
- section.icon = "icon-section " + section.cssclass;
+ section.icon = "icon-section";
});
}
diff --git a/src/Umbraco.Web.UI.Client/src/views/users/group.controller.js b/src/Umbraco.Web.UI.Client/src/views/users/group.controller.js
index a9d9f5d4e4..f37cc95174 100644
--- a/src/Umbraco.Web.UI.Client/src/views/users/group.controller.js
+++ b/src/Umbraco.Web.UI.Client/src/views/users/group.controller.js
@@ -302,7 +302,7 @@
function setSectionIcon(sections) {
angular.forEach(sections, function (section) {
- section.icon = "icon-section " + section.cssclass;
+ section.icon = "icon-section";
});
}
diff --git a/src/Umbraco.Web/Models/ContentEditing/Section.cs b/src/Umbraco.Web/Models/ContentEditing/Section.cs
index 352fb783a0..b51bbf249f 100644
--- a/src/Umbraco.Web/Models/ContentEditing/Section.cs
+++ b/src/Umbraco.Web/Models/ContentEditing/Section.cs
@@ -11,9 +11,6 @@ namespace Umbraco.Web.Models.ContentEditing
[DataMember(Name = "name")]
public string Name { get; set; }
- [DataMember(Name = "cssclass")]
- public string Icon { get; set; }
-
[DataMember(Name = "alias")]
public string Alias { get; set; }
diff --git a/src/Umbraco.Web/Models/Mapping/SectionMapperProfile.cs b/src/Umbraco.Web/Models/Mapping/SectionMapperProfile.cs
index c82e2881b9..61dd8dcadc 100644
--- a/src/Umbraco.Web/Models/Mapping/SectionMapperProfile.cs
+++ b/src/Umbraco.Web/Models/Mapping/SectionMapperProfile.cs
@@ -12,7 +12,6 @@ namespace Umbraco.Web.Models.Mapping
{
CreateMap()
.ForMember(dest => dest.RoutePath, opt => opt.Ignore())
- .ForMember(dest => dest.Icon, opt => opt.Ignore())
.ForMember(dest => dest.Name, opt => opt.MapFrom(src => textService.Localize("sections/" + src.Alias, (IDictionary)null)))
.ReverseMap(); //backwards too!
}