mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
#18951: Removing checkboxes from features that should not be disabled or enabled.
Work Item: 18951 --HG-- branch : 1.x
This commit is contained in:
@@ -79,10 +79,15 @@
|
||||
<div class="summary">
|
||||
<div class="properties">
|
||||
<h3>
|
||||
<label>
|
||||
<input type="checkbox" name="featureIds" value="@feature.Descriptor.Id"/>
|
||||
@if ((showEnable && !feature.IsEnabled) || (showDisable && feature.IsEnabled)) {
|
||||
<label>
|
||||
<input type="checkbox" name="featureIds" value="@feature.Descriptor.Id"/>
|
||||
@featureName
|
||||
</label>
|
||||
}
|
||||
else {
|
||||
@featureName
|
||||
</label>
|
||||
}
|
||||
</h3>
|
||||
<p class="description" title="@feature.Descriptor.Description">@feature.Descriptor.Description</p>
|
||||
@if (feature.Descriptor.Dependencies != null && feature.Descriptor.Dependencies.Any()) {
|
||||
|
Reference in New Issue
Block a user