提交 037ef105 编写于 作者: K kohsuke

refactored so that the upstream/downstream projects can be displayed in the Maven projects


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@7069 71c3de6d-444a-0410-be80-ed276b4c234a
上级 03d5e890
......@@ -63,6 +63,8 @@
</j:if>
</table>
<p:upstream-downstream />
<h2>${%Permalinks}</h2>
<ul>
<p:build-permalink property="lastBuild" title="${%Last build}" />
......
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define" xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form" xmlns:i="jelly:fmt" xmlns:local="local" xmlns:p="/lib/hudson/project">
<d:taglib uri="local">
<d:tag name="showItem">
<img src="${imagesURL}/16x16/${item.buildStatusUrl}" alt="${item.iconColor.description}"/>
<a href="${h.getRelativeLinkTo(item)}">${item.displayName}</a>
</d:tag>
<d:tag name="relationship">
<j:if test="${lhs.fingerprintConfigured and rhs.fingerprintConfigured}">
<st:nbsp/>
<a href="${rootURL}/projectRelationship?lhs=${lhs.name}&amp;rhs=${rhs.name}">
<img src="${imagesURL}/16x16/fingerprint.gif" alt="check relationship"/>
</a>
</j:if>
</d:tag>
</d:taglib>
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define" xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form" xmlns:i="jelly:fmt" xmlns:p="/lib/hudson/project">
<p:projectActionFloatingBox />
<table style="margin-top: 1em; margin-left:1em;">
......@@ -44,29 +28,5 @@
</j:if>
</table>
<!-- upstream/downstream projects -->
<j:set var="upstream" value="${it.upstreamProjects}" />
<j:if test="${!empty(upstream)}">
<h2>${%Upstream Projects}</h2>
<ul style="list-style-type: none;">
<j:forEach var="item" items="${upstream}">
<li>
<local:showItem />
<local:relationship lhs="${item}" rhs="${it}"/>
</li>
</j:forEach>
</ul>
</j:if>
<j:set var="downstream" value="${it.downstreamProjects}" />
<j:if test="${!empty(downstream)}">
<h2>${%Downstream Projects}</h2>
<ul style="list-style-type: none;">
<j:forEach var="item" items="${downstream}">
<li>
<local:showItem />
<local:relationship lhs="${it}" rhs="${item}"/>
</li>
</j:forEach>
</ul>
</j:if>
<p:upstream-downstream />
</j:jelly>
\ No newline at end of file
Workspace=Espace de travail
Recent\ Changes=Changements Rcents
Latest\ Test\ Result=Derniers Rsultats de Test
Upstream\ Projects=Projets en Amont
Downstream\ Projects=Projet en Aval
Last\ Successful\ Artifacts=Derniers artefacts obtenus avec succs
Recent\ Changes=Changements R\u00e9cents
Latest\ Test\ Result=Derniers R\u00e9sultats de Test
Last\ Successful\ Artifacts=Derniers artefacts obtenus avec succ\u00e8s
......@@ -2,5 +2,3 @@ Workspace=\u30ef\u30fc\u30af\u30b9\u30da\u30fc\u30b9
Recent\ Changes=\u65b0\u3057\u3044\u5909\u66f4
Last\ Successful\ Artifacts=\u6700\u5f8c\u306b\u6210\u529f\u3057\u305f\u6210\u679c\u7269
Latest\ Test\ Result=\u6700\u8fd1\u306e\u30c6\u30b9\u30c8\u7d50\u679c
Upstream\ Projects=\u4e0a\u6d41\u30d7\u30ed\u30b8\u30a7\u30af\u30c8
Downstream\ Projects=\u4e0b\u6d41\u30d7\u30ed\u30b8\u30a7\u30af\u30c8
\ No newline at end of file
<!--
Display upstream/downstream projects
-->
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define" xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form" xmlns:local="local">
<d:taglib uri="local">
<d:tag name="showItem">
<img src="${imagesURL}/16x16/${item.buildStatusUrl}" alt="${item.iconColor.description}"/>
<a href="${h.getRelativeLinkTo(item)}">${item.displayName}</a>
</d:tag>
<d:tag name="relationship">
<j:if test="${lhs.fingerprintConfigured and rhs.fingerprintConfigured}">
<st:nbsp/>
<a href="${rootURL}/projectRelationship?lhs=${lhs.name}&amp;rhs=${rhs.name}">
<img src="${imagesURL}/16x16/fingerprint.gif" alt="check relationship"/>
</a>
</j:if>
</d:tag>
</d:taglib>
<j:set var="upstream" value="${it.upstreamProjects}" />
<j:if test="${!empty(upstream)}">
<h2>${%Upstream Projects}</h2>
<ul style="list-style-type: none;">
<j:forEach var="item" items="${upstream}">
<li>
<local:showItem />
<local:relationship lhs="${item}" rhs="${it}"/>
</li>
</j:forEach>
</ul>
</j:if>
<j:set var="downstream" value="${it.downstreamProjects}" />
<j:if test="${!empty(downstream)}">
<h2>${%Downstream Projects}</h2>
<ul style="list-style-type: none;">
<j:forEach var="item" items="${downstream}">
<li>
<local:showItem />
<local:relationship lhs="${it}" rhs="${item}"/>
</li>
</j:forEach>
</ul>
</j:if>
</j:jelly>
\ No newline at end of file
Upstream\ Projects=Projets en Amont
Downstream\ Projects=Projet en Aval
Upstream\ Projects=\u4e0a\u6d41\u30d7\u30ed\u30b8\u30a7\u30af\u30c8
Downstream\ Projects=\u4e0b\u6d41\u30d7\u30ed\u30b8\u30a7\u30af\u30c8
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册