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:
Sipke Schoorstra
2015-07-19 23:10:13 +01:00
parent 00dc6ab13c
commit 32a5082405
2 changed files with 1 additions and 2 deletions

View File

@@ -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

View File

@@ -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)