Support for third party modules, improved error handling, standardardized enum naming, reorganized interface definitions, support for DB script upgrades, added Settings entity

This commit is contained in:
Shaun Walker
2019-08-14 09:34:35 -04:00
parent 916109015f
commit b71f007981
78 changed files with 809 additions and 261 deletions

View File

@ -6,7 +6,7 @@ namespace Oqtane.Shared
public class Utilities
{
public static string NavigateUrl(string alias, string path)
public static string NavigateUrl(string alias, string path, string parameters)
{
string url = "";
if (alias != "")
@ -17,6 +17,10 @@ namespace Oqtane.Shared
{
url += path + "/";
}
if (!string.IsNullOrEmpty(parameters))
{
url += "?" + parameters;
}
if (!url.StartsWith("/"))
{
url = "/" + url;
@ -26,7 +30,7 @@ namespace Oqtane.Shared
public static string EditUrl(string alias, string path, int moduleid, string action, string parameters)
{
string url = NavigateUrl(alias, path);
string url = NavigateUrl(alias, path, "");
if ( url == "/" )
{
url = "";