commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bay...@apache.org
Subject svn commit: r508874 - /jakarta/commons/proper/commons-nightly/trunk/jira-email.vm
Date Sun, 18 Feb 2007 05:57:58 GMT
Author: bayard
Date: Sat Feb 17 21:57:58 2007
New Revision: 508874

URL: http://svn.apache.org/viewvc?view=rev&rev=508874
Log:
HTMLized

Modified:
    jakarta/commons/proper/commons-nightly/trunk/jira-email.vm

Modified: jakarta/commons/proper/commons-nightly/trunk/jira-email.vm
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/commons-nightly/trunk/jira-email.vm?view=diff&rev=508874&r1=508873&r2=508874
==============================================================================
--- jakarta/commons/proper/commons-nightly/trunk/jira-email.vm (original)
+++ jakarta/commons/proper/commons-nightly/trunk/jira-email.vm Sat Feb 17 21:57:58 2007
@@ -18,7 +18,9 @@
 ##
 #set( $jira = $xmlrpc.connect("${username}:${password}","http://issues.apache.org/jira/rpc/xmlrpc")
)
 ##
-Commons JIRA Report
+<html>
+<body>
+<h1>Commons JIRA Report</h1>
 
 #set( $projects = $jira.getProjects() )
 ##
@@ -27,7 +29,8 @@
 #set( $versions = $jira.getVersions($project_key) )
 #set( $versions = $versions.subtract($versions.equals("id", "-1")) )
 #set( $project = $projects.equals("key", $project_key).get(0) )
-${project.name}
+<div class="project"><b>${project.name}</b> - [<a href="https://issues.apache.org/jira/browse/${project.key}">jira</a>]</div>
+<ul>
 ##
 #foreach( $version in $versions )
 ##
@@ -36,11 +39,16 @@
 #set( $issues = $rss.fetch($url).issues )
 #set( $unresolvedIssues = $issues.equals("resolution", "Unresolved") )
 #set( $resolvedIssues = $issues.subtract($unresolvedIssues) )
+#set( $notableIssues = $unresolvedIssues.greater("votes", 1) )
 #if( $issues.size() != 0 )
-  ${version} - ${resolvedIssues.size()} / ${issues.size()}
+<li><a href="https://issues.apache.org/jira/secure/IssueNavigator.jspa?reset=true&mode=hide&sorter/order=DESC&sorter/field=priority&resolution=-1&pid=${project.id}&fixfor=${version.id}">${version}</a>
- ${resolvedIssues.size()} / ${issues.size()}</li>
+#if( $notableIssues.size() != 0 )
+<li style="list-style: none"><ul>
+#foreach( $issue in $notableIssues )
+<li>[$issue.key] ($issue.votes votes | $issue.comments.size() comments) $issue.summary</li>
+#end
+</ul></li>
 #end
-#foreach( $issue in $unresolvedIssues.greater("votes", 1) )
-    [$issue.key] ($issue.votes votes | $issue.comments.size() comments) $issue.summary 
 #end
 #end
 #end
@@ -48,11 +56,17 @@
 #set( $url = "http://issues.apache.org/jira/secure/IssueNavigator.jspa?view=rss&decorator=none&reset=true&pid=${project.id}&fixfor=-1"
)
 #set( $issues = $rss.fetch($url).issues )
 #set( $issues = $issues.equals("resolution", "Unresolved") )
-  Unversioned - ${issues.size()}
+#if( $issues.size() != 0 )
+<li><a href="https://issues.apache.org/jira/secure/IssueNavigator.jspa?reset=true&mode=hide&sorter/order=DESC&sorter/field=priority&resolution=-1&pid=${project.id}&fixfor=-1">Unversioned</a>
- ${issues.size()}</li>
+<li style="list-style: none"><ul>
 #foreach( $issue in $issues )
-    [$issue.key] ($issue.votes votes | $issue.comments.size() comments) $issue.summary 
+<li>[<a href="https://issues.apache.org/jira/browse/$issue.key">$issue.key</a>]
($issue.votes votes | $issue.comments.size() comments) $issue.summary</li>
 #end
-
+</ul></li>
+#end
+</ul>
 #end
+</body>
+</html>
 
 ## Do I need to xmlrpc.logout?



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message