blob: 0bddf4360e2e96c7c6e6cac6e7b722734bc14449 [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="continuum" prefix="c1" %>
<html>
<ww:i18n name="localization.Continuum">
<head>
<title><ww:text name="notifier.page.add.title"/></title>
</head>
<body>
<div id="axial" class="h3">
<ww:if test="${projectId > 0}">
<ww:url id="actionUrl" value="addProjectNotifier!execute" includeParams="none" />
</ww:if>
<ww:else>
<ww:url id="actionUrl" value="addProjectGroupNotifier!execute" includeParams="none" />
</ww:else>
<h3><ww:text name="notifier.section.add.title"/></h3>
<div class="axial">
<ww:form action="%{actionUrl}" method="post">
<ww:hidden name="projectId"/>
<ww:hidden name="projectGroupId"/>
<table>
<tbody>
<ww:select label="%{getText('notifier.type.label')}" name="notifierType"
list="#@java.util.LinkedHashMap@{'mail':'Mail', 'irc':'IRC', 'jabber':'Jabber', 'msn':'MSN', 'wagon':'Wagon'}"/>
</tbody>
</table>
<div class="functnbar3">
<c1:submitcancel value="%{getText('submit')}" cancel="%{getText('cancel')}"/>
</div>
</ww:form>
</div>
</div>
</body>
</ww:i18n>
</html>