src/main/webapp/WEB-INF/jsp/project-form.jsp

changeset 284
671c1c8fbf1c
parent 187
0bf35031a918
--- a/src/main/webapp/WEB-INF/jsp/project-form.jsp	Sat Jul 22 15:07:23 2023 +0200
+++ b/src/main/webapp/WEB-INF/jsp/project-form.jsp	Sat Jul 22 22:32:04 2023 +0200
@@ -55,6 +55,17 @@
             <td><input name="repoUrl" type="url" maxlength="50" value="<c:out value="${project.repoUrl}"/>" /></td>
         </tr>
         <tr>
+            <th><fmt:message key="project.vcs"/></th>
+            <td>
+                <select name="vcs">
+                    <option value="None"><fmt:message key="project.vcs.none"/></option>
+                    <c:forTokens var="vcs" items="Mercurial,Git" delims=",">
+                    <option <c:if test="${project.vcs eq vcs}">selected</c:if> value="${vcs}">${vcs}</option>
+                    </c:forTokens>
+                </select>
+            </td>
+        </tr>
+        <tr>
             <th><fmt:message key="project.owner"/></th>
             <td>
                 <select name="owner">

mercurial