mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
Improved export UI.
When recipe builder steps provide no UI, no need for rendering a controlled subsection (which would cause a slight glitch when checking the step checkbox by expanding the div a few pixels).
This commit is contained in:
@@ -16,9 +16,11 @@
|
|||||||
<label for="@stepId" class="forcheckbox">@exportStep.DisplayName</label>
|
<label for="@stepId" class="forcheckbox">@exportStep.DisplayName</label>
|
||||||
</legend>
|
</legend>
|
||||||
@Html.Hint(@exportStep.Description)
|
@Html.Hint(@exportStep.Description)
|
||||||
|
@if (exportStep.Editor != null) {
|
||||||
<div data-controllerid="@stepId">
|
<div data-controllerid="@stepId">
|
||||||
@Display(exportStep.Editor)
|
@Display(exportStep.Editor)
|
||||||
</div>
|
</div>
|
||||||
|
}
|
||||||
</fieldset>
|
</fieldset>
|
||||||
exportStepIndex++;
|
exportStepIndex++;
|
||||||
if (exportStepIndex < Model.Steps.Count) {
|
if (exportStepIndex < Model.Steps.Count) {
|
||||||
|
|||||||
Reference in New Issue
Block a user