#18951: Removing checkboxes from features that should not be disabled or enabled.

Work Item: 18951

--HG--
branch : 1.x
This commit is contained in:
Sipke Schoorstra
2013-07-21 02:39:08 +02:00
parent c56b0696c1
commit 339b223625

View File

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