allow page and module settings to be included in site templates, improve terms and privacy default content, add Settings for HtmlText module
This commit is contained in:
@ -35,6 +35,7 @@ namespace Oqtane.Models
|
||||
new Permission(PermissionNames.View, RoleNames.Admin, true),
|
||||
new Permission(PermissionNames.Edit, RoleNames.Admin, true)
|
||||
};
|
||||
Settings = new List<Setting>();
|
||||
PageTemplateModules = new List<PageTemplateModule>();
|
||||
|
||||
// properties used by IModule
|
||||
@ -60,6 +61,7 @@ namespace Oqtane.Models
|
||||
public bool IsPersonalizable { get; set; }
|
||||
public bool IsDeleted { get; set; }
|
||||
public List<Permission> PermissionList { get; set; }
|
||||
public List<Setting> Settings { get; set; }
|
||||
public List<PageTemplateModule> PageTemplateModules { get; set; }
|
||||
|
||||
// properties used by IModule
|
||||
@ -99,6 +101,7 @@ namespace Oqtane.Models
|
||||
new Permission(PermissionNames.View, RoleNames.Admin, true),
|
||||
new Permission(PermissionNames.Edit, RoleNames.Admin, true)
|
||||
};
|
||||
Settings = new List<Setting>();
|
||||
Content = "";
|
||||
}
|
||||
|
||||
@ -109,6 +112,7 @@ namespace Oqtane.Models
|
||||
public string ContainerType { get; set; }
|
||||
public bool IsDeleted { get; set; }
|
||||
public List<Permission> PermissionList { get; set; }
|
||||
public List<Setting> Settings { get; set; }
|
||||
public string Content { get; set; }
|
||||
|
||||
[Obsolete("The ModulePermissions property is deprecated. Use PermissionList instead", false)]
|
||||
|
Reference in New Issue
Block a user