mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
#20220: Fixing features layout with missing dependencies
WorkItem: 20220
This commit is contained in:

committed by
Sebastien Ros

parent
8c969850f0
commit
c13929b566
@@ -85,6 +85,10 @@
|
||||
var showDisable = categoryName.ToString() != "Core";
|
||||
var showEnable = Model.IsAllowed(feature.Descriptor.Extension) && !missingDependencies.Any() && feature.Descriptor.Id != "Orchard.Setup";
|
||||
|
||||
if (missingDependencies.Any()) {
|
||||
featureClassName += " missingDependencies";
|
||||
}
|
||||
|
||||
<li class="@featureClassName" id="@featureId" title="@T("{0} is {1}", Html.AttributeEncode(featureName), featureState)">
|
||||
<div class="summary">
|
||||
<div class="properties">
|
||||
|
@@ -20,6 +20,11 @@ html.dyn #main ul.features button { display:none; }
|
||||
position:relative;
|
||||
width:31.95%;
|
||||
}
|
||||
|
||||
.features.summary-view .missingDependencies{
|
||||
line-height:1em;
|
||||
}
|
||||
|
||||
.features.summary-view .feature:nth-child(3n+1),
|
||||
.features.summary-view .feature:nth-child(3n+2),
|
||||
.features.summary-view .feature:nth-child(3n) {
|
||||
|
Reference in New Issue
Block a user