support for commercial modules, themes, translations
This commit is contained in:
@ -241,10 +241,6 @@ namespace Oqtane.Repository
|
||||
moduledefinition.ModuleDefinitionName = qualifiedModuleType;
|
||||
moduledefinition.ControlTypeTemplate = modulecontroltype.Namespace + "." + Constants.ActionToken + ", " + modulecontroltype.Assembly.GetName().Name;
|
||||
moduledefinition.AssemblyName = assembly.GetName().Name;
|
||||
if (string.IsNullOrEmpty(moduledefinition.PackageName))
|
||||
{
|
||||
moduledefinition.PackageName = Utilities.GetTypeName(moduledefinition.ModuleDefinitionName);
|
||||
}
|
||||
|
||||
if (string.IsNullOrEmpty(moduledefinition.Categories))
|
||||
{
|
||||
|
@ -101,10 +101,6 @@ namespace Oqtane.Repository
|
||||
theme.Themes = new List<ThemeControl>();
|
||||
theme.Containers = new List<ThemeControl>();
|
||||
theme.AssemblyName = assembly.FullName.Split(",")[0];
|
||||
if (string.IsNullOrEmpty(theme.PackageName))
|
||||
{
|
||||
theme.PackageName = Utilities.GetTypeName(theme.ThemeName);
|
||||
}
|
||||
|
||||
Debug.WriteLine($"Oqtane Info: Registering Theme {theme.ThemeName}");
|
||||
themes.Add(theme);
|
||||
|
Reference in New Issue
Block a user