mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
Removed checkbox for Recipe Execution Steps.
Since recipe execution steps are always to be configured and executed, there's no need for a checkbox.
This commit is contained in:
@@ -107,7 +107,7 @@ namespace Orchard.ImportExport.Providers.ImportActions {
|
|||||||
var orchardElement = RecipeDocument.Element("Orchard");
|
var orchardElement = RecipeDocument.Element("Orchard");
|
||||||
|
|
||||||
// Update execution steps.
|
// Update execution steps.
|
||||||
var executionStepNames = viewModel.RecipeExecutionSteps.Where(x => x.IsSelected).Select(x => x.Name);
|
var executionStepNames = viewModel.RecipeExecutionSteps.Select(x => x.Name);
|
||||||
var executionStepsQuery =
|
var executionStepsQuery =
|
||||||
from name in executionStepNames
|
from name in executionStepNames
|
||||||
where orchardElement.Element(name) != null
|
where orchardElement.Element(name) != null
|
||||||
|
|||||||
@@ -54,7 +54,6 @@
|
|||||||
<fieldset class="recipe-builder-step recipe-builder-step-@step.Name.HtmlClassify()">
|
<fieldset class="recipe-builder-step recipe-builder-step-@step.Name.HtmlClassify()">
|
||||||
<legend>
|
<legend>
|
||||||
<input type="hidden" name="@Html.FieldNameFor(m => m.RecipeExecutionSteps[stepIndex].Name)" value="@Model.RecipeExecutionSteps[stepIndex].Name" />
|
<input type="hidden" name="@Html.FieldNameFor(m => m.RecipeExecutionSteps[stepIndex].Name)" value="@Model.RecipeExecutionSteps[stepIndex].Name" />
|
||||||
@Html.CheckBoxFor(m => m.RecipeExecutionSteps[stepIndex].IsSelected)
|
|
||||||
<label for="@stepId" class="forcheckbox">@step.DisplayName</label>
|
<label for="@stepId" class="forcheckbox">@step.DisplayName</label>
|
||||||
</legend>
|
</legend>
|
||||||
@Html.Hint(step.Description)
|
@Html.Hint(step.Description)
|
||||||
|
|||||||
Reference in New Issue
Block a user