Merge branch 'temp-template-editor' into temp-U4-9324

# Conflicts:
#	src/Umbraco.Web.UI.Client/src/views/templates/edit.controller.js
This commit is contained in:
Mads Rasmussen
2017-01-10 11:52:03 +01:00
18 changed files with 339 additions and 38 deletions

View File

@@ -10,7 +10,7 @@ using Umbraco.Core.Models.Validation;
namespace Umbraco.Web.Models.ContentEditing
{
[DataContract(Name = "template", Namespace = "")]
public class TemplateDisplay
public class TemplateDisplay : INotificationModel
{
[DataMember(Name = "id")]
@@ -35,5 +35,11 @@ namespace Umbraco.Web.Models.ContentEditing
[DataMember(Name = "masterTemplateAlias")]
public string MasterTemplateAlias { get; set; }
/// <summary>
/// This is used to add custom localized messages/strings to the response for the app to use for localized UI purposes.
/// </summary>
[DataMember(Name = "notifications")]
public List<Notification> Notifications { get; private set; }
}
}