continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c...@apache.org
Subject svn commit: r735958 - in /continuum/trunk/continuum-webapp/src/main: java/org/apache/maven/continuum/web/action/GroupSummaryAction.java webapp/WEB-INF/jsp/groupSummary.jsp
Date Tue, 20 Jan 2009 07:44:19 GMT
Author: ctan
Date: Mon Jan 19 23:44:19 2009
New Revision: 735958

URL: http://svn.apache.org/viewvc?rev=735958&view=rev
Log:
[CONTINUUM-2020] removed local repository from the project groups page

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

Modified: continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/GroupSummaryAction.java
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/GroupSummaryAction.java?rev=735958&r1=735957&r2=735958&view=diff
==============================================================================
--- continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/GroupSummaryAction.java
(original)
+++ continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/GroupSummaryAction.java
Mon Jan 19 23:44:19 2009
@@ -60,12 +60,6 @@
                 groupModel.setGroupId( projectGroup.getGroupId() );
                 groupModel.setName( projectGroup.getName() );
                 groupModel.setDescription( projectGroup.getDescription() );
-                
-                if ( projectGroup.getLocalRepository() != null )
-                {
-                    groupModel.setRepositoryId( projectGroup.getLocalRepository().getId()
);
-                    groupModel.setRepositoryName( projectGroup.getLocalRepository().getName()
);
-                }
 
                 //TODO: Create a summary jpox request so code will be more simple and performance
will be better
                 Collection<Project> projects = projectGroup.getProjects();

Modified: continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/groupSummary.jsp
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/groupSummary.jsp?rev=735958&r1=735957&r2=735958&view=diff
==============================================================================
--- continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/groupSummary.jsp (original)
+++ continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/groupSummary.jsp Mon Jan
19 23:44:19 2009
@@ -57,17 +57,6 @@
           <a href="<s:url  action="projectGroupSummary" namespace="/"><s:param
name="projectGroupId">${group.id}</s:param></s:url>">${group.name}</a>
         </ec:column>
         <ec:column property="groupId" title="groups.table.groupId" width="20%"/>
-        <ec:column property="repositoryName" title="groups.table.repositoryName" width="20%">
-          <redback:ifAuthorized permission="continuum-manage-repositories">
-            <s:url id="editRepositoryUrl" action="editRepository" namespace="/admin" includeParams="none">
-              <s:param name="repository.id">${pageScope.group.repositoryId}</s:param>
-            </s:url>
-            <s:a href="%{editRepositoryUrl}">${pageScope.group.repositoryName}</s:a>
-          </redback:ifAuthorized>
-          <redback:elseAuthorized>
-            ${pageScope.group.repositoryName}
-          </redback:elseAuthorized>
-        </ec:column>
         <ec:column property="buildGroupNowAction" title="&nbsp;" width="1%">
           <redback:ifAuthorized permission="continuum-build-group" resource="${group.name}">
             <s:url id="buildProjectGroupUrl" action="buildProjectGroup" namespace="/"
includeParams="none">



Mime
View raw message