[jboss-svn-commits] JBL Code SVN: r21747 - in labs/jbosslabs/branches/stats-qa/kosmos/conf/portlet: pages and 1 other directory.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Fri Aug 22 11:53:11 EDT 2008


Author: wrzep
Date: 2008-08-22 11:53:11 -0400 (Fri, 22 Aug 2008)
New Revision: 21747

Modified:
   labs/jbosslabs/branches/stats-qa/kosmos/conf/portlet/WEB-INF/portlet.template.xml
   labs/jbosslabs/branches/stats-qa/kosmos/conf/portlet/pages/jira_monitoring.jsp
Log:
merge 21570:21746

Modified: labs/jbosslabs/branches/stats-qa/kosmos/conf/portlet/WEB-INF/portlet.template.xml
===================================================================
--- labs/jbosslabs/branches/stats-qa/kosmos/conf/portlet/WEB-INF/portlet.template.xml	2008-08-22 15:49:52 UTC (rev 21746)
+++ labs/jbosslabs/branches/stats-qa/kosmos/conf/portlet/WEB-INF/portlet.template.xml	2008-08-22 15:53:11 UTC (rev 21747)
@@ -56,7 +56,12 @@
                 https://jira.jboss.org/jira/browse/MTAJZR,
                 https://jira.jboss.org/jira/browse/JBJMX,
                 https://jira.jboss.org/jira/browse/JASSIST,
-                https://jira.jboss.org/jira/browse/XNIO
+                https://jira.jboss.org/jira/browse/XNIO,
+				https://jira.jboss.org/jira/browse/JBMESSAGING,
+				https://jira.jboss.org/jira/browse/JGRP,
+				https://jira.jboss.org/jira/browse/NETTY,
+				https://jira.jboss.org/jira/browse/APIVIZ,
+				https://jira.jboss.org/jira/browse/LOGTOLOG
           </value>
         </init-param>
         <supports>
@@ -138,7 +143,9 @@
 http://anonsvn.jboss.org/repos/richfaces/trunk/,
 http://anonsvn.jboss.org/repos/gravel/gravel.1/trunk/,
 <!-- http://anonsvn.jboss.org/repos/jbosscache/, splitted trunk -->
+http://anonsvn.jboss.org/repos/jbosscache/core/trunk/,
 <!-- http://anonsvn.jboss.org/repos/portal/, splitted trunk -->
+http://anonsvn.jboss.org/repos/portal/branches/JBoss_Portal_Branch_2_7/,
 <!-- http://anonsvn.jboss.org/repos/jbossws/, splitted trunk -->
 <!-- http://anonsvn.labs.jboss.com/labs/jbossforums/trunk/, -->
 http://anonsvn.labs.jboss.com/labs/jbossforums/branches/forums120P26/,
@@ -158,7 +165,16 @@
 http://anonsvn.labs.jboss.com/labs/reportingservices/trunk/,
 http://anonsvn.labs.jboss.com/labs/shotoku/trunk/,
 http://anonsvn.jboss.org/repos/xnio/xnio-base/trunk/,
-http://anonsvn.jboss.org/repos/envers/trunk/
+http://anonsvn.jboss.org/repos/envers/trunk/,
+http://anonsvn.jboss.org/repos/hibernate/search/trunk,
+http://anonsvn.jboss.org/repos/hibernate/annotations/trunk,
+http://anonsvn.jboss.org/repos/hibernate/entitymanager/trunk,
+http://anonsvn.jboss.org/repos/hibernate/validator/trunk,
+http://anonsvn.jboss.org/repos/hibernate/shards/trunk,
+http://anonsvn.jboss.org/repos/messaging/trunk/,
+http://anonsvn.jboss.org/repos/netty/trunk/,
+http://anonsvn.jboss.org/repos/log2log/trunk/,
+http://anonsvn.jboss.org/repos/apiviz/trunk/
           </value>
         </init-param>
         <supports>
@@ -178,4 +194,4 @@
         </portlet-info>
   </portlet>
 
-</portlet-app>
\ No newline at end of file
+</portlet-app>

Modified: labs/jbosslabs/branches/stats-qa/kosmos/conf/portlet/pages/jira_monitoring.jsp
===================================================================
--- labs/jbosslabs/branches/stats-qa/kosmos/conf/portlet/pages/jira_monitoring.jsp	2008-08-22 15:49:52 UTC (rev 21746)
+++ labs/jbosslabs/branches/stats-qa/kosmos/conf/portlet/pages/jira_monitoring.jsp	2008-08-22 15:53:11 UTC (rev 21747)
@@ -17,42 +17,46 @@
   </display:column>
   <display:column titleKey="jiraproject.name" style="white-space: nowrap;" sortProperty="name" sortable="true" >
     <a href="${project.projectUrl}">${project.name}</a>
-    &nbsp;
+    &nbsp;
+    <c:if test="${project.totalIssues > 0}">
     <a href="<portlet:renderURL><portlet:param name="action" value="viewProjectDetails"/><portlet:param name="id" value="<%= pageContext.getAttribute("id").toString() %>"/></portlet:renderURL>">
       <img src="<c:url value="/pages/images/info.gif"/>" title="<fmt:message key="jiraproject.projectDetails"/>" border="0"/>
-    </a>
+    </a>
+    </c:if>
   </display:column>
   <display:column titleKey="jiraproject.key" style="white-space: nowrap;" sortProperty="key" sortable="true">
     <a href="${project.url}">${project.key}</a>
   </display:column>
   <display:column titleKey="jiraproject.lead" style="white-space: nowrap;" property="lead" sortable="true" autolink="true"/>
-  <display:column titleKey="jiraproject.assignees" style="white-space: nowrap;" sortProperty="openIssueAssignees" sortable="true">
+  <display:column titleKey="jiraproject.assignees" style="white-space: nowrap;" sortProperty="openIssueAssignees" sortable="true">
+    <c:if test="${project.totalIssues > 0}">
     <fmt:formatNumber value="${project.openIssueAssignees}"/>
     <a href="<portlet:renderURL><portlet:param name="action" value="viewAssigneeDetails"/><portlet:param name="id" value="<%= pageContext.getAttribute("id").toString() %>"/></portlet:renderURL>">
       <img src="<c:url value="/pages/images/info.gif"/>" title="<fmt:message key="jiraproject.assigneeDetails"/>" border="0"/>
-    </a>
+    </a>
+    </c:if>
   </display:column>
   <display:column titleKey="jiraproject.openIssues" style="white-space: nowrap;" sortProperty="openIssues" sortable="true">
     <c:if test="${project.openIssues > 10}"><span class="portlet-msg-error"></c:if>
     <fmt:formatNumber value="${project.openIssues}"/>
-    &nbsp;(<fmt:formatNumber value="${project.openIssues / project.totalIssues}" type="percent"/>)
+    &nbsp;<c:if test="${project.totalIssues > 0}">(<fmt:formatNumber value="${project.openIssues / project.totalIssues}" type="percent"/>)</c:if>
     <c:if test="${project.openIssues > 10}"></span></c:if>
   </display:column>
   <display:column titleKey="jiraproject.codingInProgressIssues" style="white-space: nowrap;" sortProperty="codingInProgressIssues" sortable="true">
     <fmt:formatNumber value="${project.codingInProgressIssues}"/>
-    &nbsp;(<fmt:formatNumber value="${project.codingInProgressIssues / project.totalIssues}" type="percent"/>)
+    &nbsp;<c:if test="${project.totalIssues > 0}">(<fmt:formatNumber value="${project.codingInProgressIssues / project.totalIssues}" type="percent"/>)</c:if>
   </display:column>
   <display:column titleKey="jiraproject.reopenedIssues" style="white-space: nowrap;" sortProperty="reopenedIssues" sortable="true">
     <fmt:formatNumber value="${project.reopenedIssues}"/>
-    &nbsp;(<fmt:formatNumber value="${project.reopenedIssues / project.totalIssues}" type="percent"/>)
+    &nbsp;<c:if test="${project.totalIssues > 0}">(<fmt:formatNumber value="${project.reopenedIssues / project.totalIssues}" type="percent"/>)</c:if>
   </display:column>
   <display:column titleKey="jiraproject.resolvedIssues" style="white-space: nowrap;" sortProperty="resolvedIssues" sortable="true">
     <fmt:formatNumber value="${project.resolvedIssues}"/>
-    &nbsp;(<fmt:formatNumber value="${project.resolvedIssues / project.totalIssues}" type="percent"/>)
+    &nbsp;<c:if test="${project.totalIssues > 0}">(<fmt:formatNumber value="${project.resolvedIssues / project.totalIssues}" type="percent"/>)</c:if>
   </display:column>
   <display:column titleKey="jiraproject.closedIssues" style="white-space: nowrap;" sortProperty="closedIssues" sortable="true">
     <fmt:formatNumber value="${project.closedIssues}"/>
-    &nbsp;(<fmt:formatNumber value="${project.closedIssues / project.totalIssues}" type="percent"/>)
+    &nbsp;<c:if test="${project.totalIssues > 0}">(<fmt:formatNumber value="${project.closedIssues / project.totalIssues}" type="percent"/>)</c:if>
   </display:column>
   <display:column titleKey="jiraproject.issuesByStatus" sortProperty="openIssues" sortable="true">
     <c:if test="${project.totalIssues > 0}">




More information about the jboss-svn-commits mailing list