blob: 14cfe0d197c6fd6491bb678c15088aceee3f3d5a [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
~ Unless required by applicable law or agreed to in writing,
~ software distributed under the License is distributed on an
~ KIND, either express or implied. See the License for the
~ specific language governing permissions and limitations
~ under the License.
<%@ taglib uri="/struts-tags" prefix="s" %>
<s:i18n name="localization.Continuum">
<title><s:text name=""/></title>
<div id="axial" class="h3">
<h3><s:text name="buildResult.delete.confirmation.section.title"/></h3>
<div class="axial">
<s:if test="hasActionMessages()">
<div class="warningmessage">
<!-- in this case we come from the build result edit -->
<s:form action="%{buildId ? 'removeBuildResult' : 'removeBuildResults'}" theme="simple">
<s:hidden name="projectGroupId"/>
<s:hidden name="projectId"/>
<s:if test="buildId">
<s:hidden name="buildId"/>
<s:hidden name="confirmed" value="true"/>
<s:if test="selectedBuildResults">
<s:iterator value="selectedBuildResults" var="resultId">
<s:hidden name="selectedBuildResults" value="%{resultId}" />
<s:hidden name="selectedBuildResults" value="buildId" />
<div class="warningmessage">
<s:text name="buildResult.delete.confirmation.message">
<s:param><s:property value="%{selectedBuildResults.size}"/></s:param>
<div class="functnbar3">
<s:if test="buildId > 0">
<s:submit value="%{getText('delete')}" theme="simple"/>
<s:elseif test="selectedBuildResults.size > 0">
<s:submit value="%{getText('delete')}" theme="simple"/>
<input type="button" name="Cancel" value="<s:text name='cancel'/>" onclick="history.back();"/>