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:
@ -199,6 +199,9 @@ namespace Oqtane.Infrastructure.SiteTemplates
|
||||
new Permission(PermissionNames.View, RoleNames.Admin, true),
|
||||
new Permission(PermissionNames.Edit, RoleNames.Admin, true)
|
||||
},
|
||||
Settings = new List<Setting> {
|
||||
new Setting { SettingName = "DynamicTokens", SettingValue = "true" }
|
||||
},
|
||||
Content = _localizer["Privacy"]
|
||||
}
|
||||
}
|
||||
@ -226,6 +229,9 @@ namespace Oqtane.Infrastructure.SiteTemplates
|
||||
new Permission(PermissionNames.View, RoleNames.Admin, true),
|
||||
new Permission(PermissionNames.Edit, RoleNames.Admin, true)
|
||||
},
|
||||
Settings = new List<Setting> {
|
||||
new Setting { SettingName = "DynamicTokens", SettingValue = "true" }
|
||||
},
|
||||
Content = _localizer["Terms"]
|
||||
}
|
||||
}
|
||||
|
@ -490,6 +490,9 @@ namespace Oqtane.Infrastructure
|
||||
new Permission(PermissionNames.View, RoleNames.Admin, true),
|
||||
new Permission(PermissionNames.Edit, RoleNames.Admin, true)
|
||||
},
|
||||
Settings = new List<Setting> {
|
||||
new Setting { SettingName = "DynamicTokens", SettingValue = "true" }
|
||||
},
|
||||
Content = localizer["Privacy"]
|
||||
}
|
||||
}
|
||||
@ -516,6 +519,9 @@ namespace Oqtane.Infrastructure
|
||||
new Permission(PermissionNames.View, RoleNames.Admin, true),
|
||||
new Permission(PermissionNames.Edit, RoleNames.Admin, true)
|
||||
},
|
||||
Settings = new List<Setting> {
|
||||
new Setting { SettingName = "DynamicTokens", SettingValue = "true" }
|
||||
},
|
||||
Content = localizer["Terms"]
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user