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:
Nathan Heskew
2010-04-29 14:03:24 -07:00
parent ce5b7fe317
commit e8b8a8895f
2 changed files with 17 additions and 16 deletions

View File

@@ -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>&nbsp;&#124;&nbsp;<%=_Encoded("Depends on: ") %><%
foreach (var dependency in feature.Descriptor.Dependencies) {
%><% if (dependency != feature.Descriptor.Dependencies.First()) { %><%=_Encoded(", ") %><% }
%><%=Html.Encode(dependency) %><%
} %>
</li><%
<li>&nbsp;&#124;&nbsp;<%=T("Depends on: {0}", string.Join(", ", feature.Descriptor.Dependencies.Select(s => Html.Encode(s)).OrderBy(s => s).ToArray())) %></li><%
} %>
</ul>
</div>