提交 156cb7d6 编写于 作者: L lshatzer

List plugins on the systemInfo page.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@35576 71c3de6d-444a-0410-be80-ed276b4c234a
上级 e62787f7
......@@ -33,6 +33,33 @@ THE SOFTWARE.
<t:propertyTable items="${h.systemProperties}" />
<h1>${%Environment Variables}</h1>
<t:propertyTable items="${h.envVars}" />
<h1>${%Plugins}</h1>
<table class="pane sortable bigtable">
<j:choose>
<j:when test="${empty(app.pluginManager.plugins) and empty(app.pluginManager.failedPlugins)}">
<tr><td>
${%No plugins installed.}
</td></tr>
</j:when>
<j:otherwise>
<tr>
<th class="pane-header" initialSortDir="down">${%Name of Plugin}</th>
<th class="pane-header">${%Version}</th>
<th class="pane-header">${%Enabled}</th>
<th class="pane-header">${%Pinned}</th>
</tr>
<j:forEach var="p" items="${app.pluginManager.plugins}">
<j:set var="state" value="${p.enabled?'true':null}"/>
<tr>
<td class="pane"><st:out value="${p.shortName}"/></td>
<td class="pane"><st:out value="${p.version}"/></td>
<td class="pane"><st:out value="${state}"/></td>
<td class="pane"><st:out value="${p.pinned}"/></td>
</tr>
</j:forEach>
</j:otherwise>
</j:choose>
</table>
</l:main-panel>
</l:layout>
</j:jelly>
\ No newline at end of file
</j:jelly>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册