Related links prop editor: adds RelatedLinksPropertyEditor.cs

This commit is contained in:
Tim Geyssens
2013-10-03 13:27:13 +02:00
parent bd32c7cc4a
commit 4ace6e10db
4 changed files with 24 additions and 2 deletions

View File

@@ -1 +1,5 @@
angular.module("umbraco")
.controller("Umbraco.Editors.RelatedLinksController",
function ($rootScope, $scope, $routeParams, contentResource, contentTypeResource, editorContextService, notificationsService) {
});

View File

@@ -1 +1,3 @@
<div class="umb-editor umb-relatedlinks" ng-controller="Umbraco.Editors.RelatedLinksController">
</div>

View File

@@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Umbraco.Core;
using Umbraco.Core.PropertyEditors;
namespace Umbraco.Web.PropertyEditors
{
[PropertyEditor(Constants.PropertyEditors.RelatedLinksAlias, "Related links", "relatedlinks")]
public class RelatedLinksPropertyEditor : PropertyEditor
{
}
}

View File

@@ -328,6 +328,7 @@
<Compile Include="PropertyEditors\ParameterEditors\TextAreaParameterEditor.cs" />
<Compile Include="PropertyEditors\ParameterEditors\TextParameterEditor.cs" />
<Compile Include="PropertyEditors\ParameterEditors\TrueFalseParameterEditor.cs" />
<Compile Include="PropertyEditors\RelatedLinksPropertyEditor.cs" />
<Compile Include="PropertyEditors\RteEmbedController.cs" />
<Compile Include="Editors\EntityController.cs" />
<Compile Include="Editors\MediaPostValidateAttribute.cs" />