continuum-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brett Porter <br...@apache.org>
Subject Re: svn commit: r766753 - /continuum/branches/continuum-1.2.x/continuum-webapp/src/main/webapp/WEB-INF/jsp/components/buildDefinitionSummaryComponent.jsp
Date Tue, 21 Apr 2009 01:08:28 GMT
Hi,
Are we still maintaining the 1.2.x branch? I thought the 1.2.3 release was
the last, except for a possible change to the data management - which may no
longer be needed.

Also, should this change be merged to trunk/1.3.x?

- Brett

2009/4/21 <jmorales@apache.org>

> Author: jmorales
> Date: Mon Apr 20 16:55:39 2009
> New Revision: 766753
>
> URL: http://svn.apache.org/viewvc?rev=766753&view=rev
> Log:
> Related to issue CONTINUUM-2075.
>
> Don't allow delete deault build definition in 'Project Information' tab.
>
>
> Modified:
>
>  continuum/branches/continuum-1.2.x/continuum-webapp/src/main/webapp/WEB-INF/jsp/components/buildDefinitionSummaryComponent.jsp
>
> Modified:
> continuum/branches/continuum-1.2.x/continuum-webapp/src/main/webapp/WEB-INF/jsp/components/buildDefinitionSummaryComponent.jsp
> URL:
> http://svn.apache.org/viewvc/continuum/branches/continuum-1.2.x/continuum-webapp/src/main/webapp/WEB-INF/jsp/components/buildDefinitionSummaryComponent.jsp?rev=766753&r1=766752&r2=766753&view=diff
>
> ==============================================================================
> ---
> continuum/branches/continuum-1.2.x/continuum-webapp/src/main/webapp/WEB-INF/jsp/components/buildDefinitionSummaryComponent.jsp
> (original)
> +++
> continuum/branches/continuum-1.2.x/continuum-webapp/src/main/webapp/WEB-INF/jsp/components/buildDefinitionSummaryComponent.jsp
> Mon Apr 20 16:55:39 2009
> @@ -110,13 +110,18 @@
>         </ww:if>
>         <ww:else>
>           <redback:ifAuthorized
> permission="continuum-remove-group-build-definition"
> resource="${projectGroupName}">
> -            <ww:url id="removeUrl" action="removeGroupBuildDefinition"
> namespace="/">
> -              <ww:param
> name="projectGroupId">${pageScope.buildDefinitionSummary.projectGroupId}</ww:param>
> -              <ww:param name="buildDefinitionId">${
> pageScope.buildDefinitionSummary.id}</ww:param>
> -              <ww:param name="groupBuildDefinition">true</ww:param>
> -              <ww:param name="confirmed" value="false"/>
> -            </ww:url>
> -            <ww:a href="%{removeUrl}"><img src="<ww:url
> value='/images/delete.gif' includeParams="none"/>" alt="<ww:text
> name='delete'/>" title="<ww:text name='delete'/>" border="0"></ww:a>
> +            <ww:if test="${pageScope.buildDefinitionSummary.isDefault ==
> true}">
> +              <img src="<ww:url value='/images/delete_disabled.gif'
> includeParams="none"/>" alt="<ww:text name='delete'/>" title="<ww:text
> name='delete'/>" border="0">
> +            </ww:if>
> +            <ww:else>
> +              <ww:url id="removeUrl" action="removeGroupBuildDefinition"
> namespace="/">
> +                <ww:param
> name="projectGroupId">${pageScope.buildDefinitionSummary.projectGroupId}</ww:param>
> +                <ww:param name="buildDefinitionId">${
> pageScope.buildDefinitionSummary.id}</ww:param>
> +                <ww:param name="groupBuildDefinition">true</ww:param>
> +                <ww:param name="confirmed" value="false"/>
> +              </ww:url>
> +              <ww:a href="%{removeUrl}"><img src="<ww:url
> value='/images/delete.gif' includeParams="none"/>" alt="<ww:text
> name='delete'/>" title="<ww:text name='delete'/>" border="0"></ww:a>
> +            </ww:else>
>           </redback:ifAuthorized>
>           <redback:elseAuthorized>
>             <img src="<ww:url value='/images/delete_disabled.gif'
> includeParams="none"/>" alt="<ww:text name='delete'/>" title="<ww:text
> name='delete'/>" border="0" />
>
>
>


-- 
Brett Porter
http://blogs.exist.com/bporter/

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message