blob: da45401574809ed5c819622a09af90eb3c9a47b2 [file] [log] [blame]
<%--
~ Licensed to the Apache Software Foundation (ASF) under one
~ or more contributor license agreements. See the NOTICE file
~ distributed with this work for additional information
~ regarding copyright ownership. The ASF licenses this file
~ to you under the Apache License, Version 2.0 (the
~ "License"); you may not use this file except in compliance
~ with the License. You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing,
~ software distributed under the License is distributed on an
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
~ KIND, either express or implied. See the License for the
~ specific language governing permissions and limitations
~ under the License.
--%>
<%@ taglib uri="/webwork" prefix="ww" %>
<%@ taglib uri='http://java.sun.com/jsp/jstl/core' prefix='c'%>
<%@ taglib uri="continuum" prefix="c1" %>
<div>
<p style="border-top: 1px solid transparent; border-bottom: 1px solid #DFDEDE;">
<ww:url id="projectGroupSummaryUrl" action="projectGroupSummary" includeParams="none">
<ww:param name="projectGroupId" value="project.projectGroup.id"/>
</ww:url>
<ww:url id="viewUrl" action="projectView" includeParams="none">
<ww:param name="projectId" value="projectId"/>
<ww:param name="tab" value="view"/>
<ww:param name="projectGroupId" value="project.projectGroup.id"/>
</ww:url>
<ww:url id="buildResultsUrl" action="buildResults" includeParams="none">
<ww:param name="projectId" value="projectId"/>
<ww:param name="tab" value="buildResults"/>
<ww:param name="projectGroupId" value="project.projectGroup.id"/>
</ww:url>
<ww:url id="workingCopyUrl" action="workingCopy" includeParams="none">
<ww:param name="projectId" value="projectId"/>
<ww:param name="tab" value="workingCopy"/>
<ww:param name="projectGroupId" value="project.projectGroup.id"/>
</ww:url>
<a style="border: 1px solid #DFDEDE; padding-left: 1em; padding-right: 1em; text-decoration: none;" href="${projectGroupSummaryUrl}"><ww:text name="projectGroup.tab.summary"/></a>
<c:choose>
<c:when test="${param.tab == 'view'}">
<b style="border: 1px solid #DFDEDE; padding-left: 1em; padding-right: 1em;"><ww:text name="info"/></b>
</c:when>
<c:otherwise>
<a style="border: 1px solid #DFDEDE; padding-left: 1em; padding-right: 1em; text-decoration: none;" href="${viewUrl}"><ww:text name="info"/></a>
</c:otherwise>
</c:choose>
<c:choose>
<c:when test="${param.tab == 'buildResults'}">
<b style="border: 1px solid #DFDEDE; padding-left: 1em; padding-right: 1em;"><ww:text name="builds"/></b>
</c:when>
<c:otherwise>
<a style="border: 1px solid #DFDEDE; padding-left: 1em; padding-right: 1em; text-decoration: none;" href="${buildResultsUrl}"><ww:text name="builds"/></a>
</c:otherwise>
</c:choose>
<c:choose>
<c:when test="${param.tab == 'workingCopy'}">
<b style="border: 1px solid #DFDEDE; padding-left: 1em; padding-right: 1em;"><ww:text name="workingCopy"/></b>
</c:when>
<c:otherwise>
<a style="border: 1px solid #DFDEDE; padding-left: 1em; padding-right: 1em; text-decoration: none;" href="${workingCopyUrl}"><ww:text name="workingCopy"/></a>
</c:otherwise>
</c:choose>
</p>
</div>