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");
|
||||
|
||||
// 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 =
|
||||
from name in executionStepNames
|
||||
where orchardElement.Element(name) != null
|
||||
|
||||
@@ -54,7 +54,6 @@
|
||||
<fieldset class="recipe-builder-step recipe-builder-step-@step.Name.HtmlClassify()">
|
||||
<legend>
|
||||
<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>
|
||||
</legend>
|
||||
@Html.Hint(step.Description)
|
||||
|
||||
Reference in New Issue
Block a user