Feature: Document Template Packages

Document Templates can be grouped into a package and generated on-demand
in the same was as individual document templates. Packages can be
generated in bulk.
This commit is contained in:
Gary Sharp
2016-11-14 01:21:23 +11:00
parent ef8df08e29
commit aca037ecf8
75 changed files with 8008 additions and 2078 deletions
@@ -72,7 +72,12 @@ namespace Disco.Web.Areas.Config
context.MapRoute(
"Config_DocumentTemplate_Create",
"Config/DocumentTemplate/Create",
new { controller = "DocumentTemplate", action = "Create", id = UrlParameter.Optional }
new { controller = "DocumentTemplate", action = "Create" }
);
context.MapRoute(
"Config_DocumentTemplate_CreatePackage",
"Config/DocumentTemplate/CreatePackage",
new { controller = "DocumentTemplate", action = "CreatePackage" }
);
context.MapRoute(
"Config_DocumentTemplate_ImportStatus",
@@ -89,6 +94,11 @@ namespace Disco.Web.Areas.Config
"Config/DocumentTemplate/ExpressionBrowser",
new { controller = "DocumentTemplate", action = "ExpressionBrowser", id = UrlParameter.Optional }
);
context.MapRoute(
"Config_DocumentTemplate_ShowPackage",
"Config/DocumentTemplate/Package/{id}",
new { controller = "DocumentTemplate", action = "ShowPackage" }
);
context.MapRoute(
"Config_DocumentTemplate",
"Config/DocumentTemplate/{id}",