1 <%-- |
1 <%-- |
2 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. |
2 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. |
3 |
3 |
4 Copyright 2020 Mike Becker. All rights reserved. |
4 Copyright 2021 Mike Becker. All rights reserved. |
5 |
5 |
6 Redistribution and use in source and binary forms, with or without |
6 Redistribution and use in source and binary forms, with or without |
7 modification, are permitted provided that the following conditions are met: |
7 modification, are permitted provided that the following conditions are met: |
8 |
8 |
9 1. Redistributions of source code must retain the above copyright |
9 1. Redistributions of source code must retain the above copyright |
178 <input type="checkbox" id="create-another" name="create-another" <c:if test="${more}">checked</c:if> /> |
178 <input type="checkbox" id="create-another" name="create-another" <c:if test="${more}">checked</c:if> /> |
179 <label for="create-another"><fmt:message key="button.issue.create.another"/> </label> |
179 <label for="create-another"><fmt:message key="button.issue.create.another"/> </label> |
180 <input type="hidden" name="id" value="${issue.id}"/> |
180 <input type="hidden" name="id" value="${issue.id}"/> |
181 <c:if test="${issue.id ge 0}"> |
181 <c:if test="${issue.id ge 0}"> |
182 <a href="./projects/${issue.project.node}/issues/${issue.id}/view" class="button"> |
182 <a href="./projects/${issue.project.node}/issues/${issue.id}/view" class="button"> |
183 <fmt:message bundle="${lightpit_bundle}" key="button.cancel"/> |
183 <fmt:message key="button.cancel"/> |
184 </a> |
184 </a> |
185 </c:if> |
185 </c:if> |
186 <c:if test="${issue.id lt 0}"> |
186 <c:if test="${issue.id lt 0}"> |
187 <%-- TODO: fix #14 --%> |
187 <%-- TODO: fix #14 --%> |
188 <a href="./projects/${issue.project.node}/all-components/all-versions/issues/" class="button"> |
188 <a href="./projects/${issue.project.node}/all-components/all-versions/issues/" class="button"> |
189 <fmt:message bundle="${lightpit_bundle}" key="button.cancel"/> |
189 <fmt:message key="button.cancel"/> |
190 </a> |
190 </a> |
191 </c:if> |
191 </c:if> |
192 <button type="submit"><fmt:message bundle="${lightpit_bundle}" key="button.okay"/></button> |
192 <button type="submit"><fmt:message key="button.okay"/></button> |
193 </td> |
193 </td> |
194 </tr> |
194 </tr> |
195 </tfoot> |
195 </tfoot> |
196 </table> |
196 </table> |
197 </form> |
197 </form> |