continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r492551 - in /maven/continuum/trunk/continuum-webapp/src/main: java/org/apache/maven/continuum/web/action/SurefireReportAction.java webapp/WEB-INF/jsp/surefireReport.jsp
Date Thu, 04 Jan 2007 12:48:08 GMT
Author: evenisse
Date: Thu Jan  4 04:48:07 2007
New Revision: 492551

URL: http://svn.apache.org/viewvc?view=rev&rev=492551
Log:
Fix tabs

Modified:
    maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/SurefireReportAction.java
    maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/surefireReport.jsp

Modified: maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/SurefireReportAction.java
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/SurefireReportAction.java?view=diff&rev=492551&r1=492550&r2=492551
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/SurefireReportAction.java
(original)
+++ maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/SurefireReportAction.java
Thu Jan  4 04:48:07 2007
@@ -63,10 +63,12 @@
 
     private String projectName;
 
+    private Project project;
+
     public String execute()
         throws ContinuumException
     {
-        Project project = getContinuum().getProject( projectId );
+        project = getContinuum().getProject( projectId );
 
         //@todo maven-surefire-report reportsDirectory should be detected ?
         File reportsDirectory = new File( project.getWorkingDirectory() + "/target/surefire-reports"
);
@@ -195,6 +197,11 @@
     public void setBuildId( int buildId )
     {
         this.buildId = buildId;
+    }
+
+    public Project getProject()
+    {
+        return project;
     }
 
     public int getProjectId()

Modified: maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/surefireReport.jsp
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/surefireReport.jsp?view=diff&rev=492551&r1=492550&r2=492551
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/surefireReport.jsp
(original)
+++ maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/surefireReport.jsp
Thu Jan  4 04:48:07 2007
@@ -9,13 +9,10 @@
     </head>
     <body>
       <div id="h3">
-        <div>
-          <p style="border-top: 1px solid transparent; border-bottom: 1px solid #DFDEDE;">
-            <a style="border: 1px solid #DFDEDE; padding-left: 1em; padding-right: 1em;
text-decoration: none;" href="<ww:url value="/projectView.action?projectId="/><ww:property
value="projectId"/>&projectName=<ww:property value="projectName"/>"><ww:text
name="info"/></a>
-            <a style="border: 1px solid #DFDEDE; padding-left: 1em; padding-right: 1em;
text-decoration: none;" href="<ww:url value="/buildResults.action?projectId="/><ww:property
value="projectId"/>&projectName=<ww:property value="projectName"/>"><ww:text
name="builds"/></a>
-            <a style="border: 1px solid #DFDEDE; padding-left: 1em; padding-right: 1em;
text-decoration: none;" href="<ww:url value="/workingCopy.action?projectId="/><ww:property
value="projectId"/>&projectName=<ww:property value="projectName"/>"><ww:text
name="workingCopy"/></a>
-          </p>
-        </div>
+
+        <jsp:include page="/WEB-INF/jsp/navigations/ProjectMenu.jsp">
+          <jsp:param name="tab" value="view"/>
+        </jsp:include>
 
         <h3>
             <ww:text name="surefireReport.section.title">



Mime
View raw message