mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-14 10:54:50 +08:00
Some work on the installed modules page.
- representing more of the module info and linking in to contained features --HG-- branch : dev
This commit is contained in:
@@ -23,7 +23,7 @@ using (Html.BeginFormAntiForgeryPost()) { %>
|
||||
<h2><%=Html.Encode(featureGroup.First().Descriptor.Category ?? T("General")) %></h2>
|
||||
<ul><%
|
||||
foreach (var feature in featureGroup) {%>
|
||||
<li<%=feature == featureGroup.Last() ? " class=\"last\"" : "" %>>
|
||||
<li<%=feature == featureGroup.Last() ? " class=\"last\"" : "" %> id="<%=Html.Encode(feature.Descriptor.Name) %>">
|
||||
<div class="summary">
|
||||
<div class="properties">
|
||||
<input type="checkbox" name="selection" value="<%=Html.Encode(feature.Descriptor.Name) %>" />
|
||||
@@ -40,12 +40,7 @@ using (Html.BeginFormAntiForgeryPost()) { %>
|
||||
</li><%
|
||||
//dependencies
|
||||
if (feature.Descriptor.Dependencies.Count() > 0) { %>
|
||||
<li> | <%=_Encoded("Depends on: ") %><%
|
||||
foreach (var dependency in feature.Descriptor.Dependencies) {
|
||||
%><% if (dependency != feature.Descriptor.Dependencies.First()) { %><%=_Encoded(", ") %><% }
|
||||
%><%=Html.Encode(dependency) %><%
|
||||
} %>
|
||||
</li><%
|
||||
<li> | <%=T("Depends on: {0}", string.Join(", ", feature.Descriptor.Dependencies.Select(s => Html.Encode(s)).OrderBy(s => s).ToArray())) %></li><%
|
||||
} %>
|
||||
</ul>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user