mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-01-18 19:51:45 +08:00
Under DevTools, rename “Data Migration” to “Database Update”
--HG-- branch : dev
This commit is contained in:
@@ -9,10 +9,10 @@ using Orchard.UI.Notify;
|
|||||||
namespace Orchard.DevTools.Controllers {
|
namespace Orchard.DevTools.Controllers {
|
||||||
[ValidateInput(false)]
|
[ValidateInput(false)]
|
||||||
[Admin]
|
[Admin]
|
||||||
public class DataMigrationController : Controller {
|
public class DatabaseUpdateController : Controller {
|
||||||
private readonly ISchemaCommandGenerator _schemaCommandGenerator;
|
private readonly ISchemaCommandGenerator _schemaCommandGenerator;
|
||||||
|
|
||||||
public DataMigrationController(ISchemaCommandGenerator schemaCommandGenerator, IOrchardServices orchardServices) {
|
public DatabaseUpdateController(ISchemaCommandGenerator schemaCommandGenerator, IOrchardServices orchardServices) {
|
||||||
_schemaCommandGenerator = schemaCommandGenerator;
|
_schemaCommandGenerator = schemaCommandGenerator;
|
||||||
Services = orchardServices;
|
Services = orchardServices;
|
||||||
}
|
}
|
||||||
@@ -74,7 +74,7 @@
|
|||||||
<Compile Include="Commands\ScaffoldingCommands.cs" />
|
<Compile Include="Commands\ScaffoldingCommands.cs" />
|
||||||
<Compile Include="Controllers\CommandsController.cs" />
|
<Compile Include="Controllers\CommandsController.cs" />
|
||||||
<Compile Include="Controllers\ContentController.cs" />
|
<Compile Include="Controllers\ContentController.cs" />
|
||||||
<Compile Include="Controllers\DataMigrationController.cs" />
|
<Compile Include="Controllers\DatabaseUpdateController.cs" />
|
||||||
<Compile Include="Controllers\HomeController.cs" />
|
<Compile Include="Controllers\HomeController.cs" />
|
||||||
<Compile Include="Controllers\MetadataController.cs" />
|
<Compile Include="Controllers\MetadataController.cs" />
|
||||||
<Compile Include="Handlers\DebugLinkHandler.cs" />
|
<Compile Include="Handlers\DebugLinkHandler.cs" />
|
||||||
@@ -99,7 +99,7 @@
|
|||||||
<Content Include="ScaffoldingTemplates\ModuleWebConfig.txt" />
|
<Content Include="ScaffoldingTemplates\ModuleWebConfig.txt" />
|
||||||
<Content Include="ScaffoldingTemplates\ViewsWebConfig.txt" />
|
<Content Include="ScaffoldingTemplates\ViewsWebConfig.txt" />
|
||||||
<Content Include="Views\Commands\Execute.ascx" />
|
<Content Include="Views\Commands\Execute.ascx" />
|
||||||
<Content Include="Views\DataMigration\Index.aspx" />
|
<Content Include="Views\DatabaseUpdate\Index.aspx" />
|
||||||
<Content Include="Views\DefinitionTemplates\DevToolsSettings.ascx" />
|
<Content Include="Views\DefinitionTemplates\DevToolsSettings.ascx" />
|
||||||
<Content Include="Views\Home\_RenderableAction.ascx" />
|
<Content Include="Views\Home\_RenderableAction.ascx" />
|
||||||
<Content Include="Views\Home\Simple.aspx" />
|
<Content Include="Views\Home\Simple.aspx" />
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<%@ Page Language="C#" Inherits="Orchard.Mvc.ViewPage<BaseViewModel>"%>
|
<%@ Page Language="C#" Inherits="Orchard.Mvc.ViewPage<BaseViewModel>"%>
|
||||||
<%@ Import Namespace="Orchard.Mvc.ViewModels"%>
|
<%@ Import Namespace="Orchard.Mvc.ViewModels"%>
|
||||||
<h1><%: Html.TitleForPage(T("Data Migration").ToString()) %></h1>
|
<h1><%: Html.TitleForPage(T("Data Migration").ToString()) %></h1>
|
||||||
<p><%: Html.ActionLink(T("Update Database").ToString(), "UpdateDatabase", "DataMigration") %></p>
|
<p><%: Html.ActionLink(T("Update Database").ToString(), "UpdateDatabase", "DatabaseUpdate") %></p>
|
||||||
|
|
||||||
@@ -4,4 +4,4 @@
|
|||||||
<p><%: Html.ActionLink(T("Contents").ToString(), "Index", "Content") %></p>
|
<p><%: Html.ActionLink(T("Contents").ToString(), "Index", "Content") %></p>
|
||||||
<p><%: Html.ActionLink(T("Metadata").ToString(), "Index", "Metadata") %></p>
|
<p><%: Html.ActionLink(T("Metadata").ToString(), "Index", "Metadata") %></p>
|
||||||
<p><%: Html.ActionLink(T("Test Unauthorized Request").ToString(), "NotAuthorized", "Home")%></p>
|
<p><%: Html.ActionLink(T("Test Unauthorized Request").ToString(), "NotAuthorized", "Home")%></p>
|
||||||
<p><%: Html.ActionLink(T("Data migration").ToString(), "Index", "DataMigration")%></p>
|
<p><%: Html.ActionLink(T("Database Update").ToString(), "Index", "DatabaseUpdate")%></p>
|
||||||
|
|||||||
Reference in New Issue
Block a user