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

changeset 82
4ec7f2600c83
parent 81
1a2e7b5d48f7
child 83
24a3596b8f98
equal deleted inserted replaced
81:1a2e7b5d48f7 82:4ec7f2600c83
40 <col> 40 <col>
41 <col style="width: 75ch"> 41 <col style="width: 75ch">
42 </colgroup> 42 </colgroup>
43 <tbody> 43 <tbody>
44 <tr> 44 <tr>
45 <th><fmt:message key="thead.issue.project"/></th> 45 <th><fmt:message key="issue.project"/></th>
46 <td> 46 <td>
47 <select name="pid" required> 47 <select name="pid" required>
48 <c:forEach var="project" items="${projects}"> 48 <c:forEach var="project" items="${projects}">
49 <option value="${project.id}" <c:if test="${project eq issue.project}">selected</c:if> > 49 <option value="${project.id}" <c:if test="${project eq issue.project}">selected</c:if> >
50 <c:out value="${project.name}" /> 50 <c:out value="${project.name}" />
52 </c:forEach> 52 </c:forEach>
53 </select> 53 </select>
54 </td> 54 </td>
55 </tr> 55 </tr>
56 <tr> 56 <tr>
57 <th><fmt:message key="thead.issue.category"/></th> 57 <th><fmt:message key="issue.category"/></th>
58 <td> 58 <td>
59 <select name="category"> 59 <select name="category">
60 <c:forEach var="category" items="${issueCategoryEnum}"> 60 <c:forEach var="category" items="${issueCategoryEnum}">
61 <option 61 <option
62 <c:if test="${category eq issue.category}">selected</c:if> 62 <c:if test="${category eq issue.category}">selected</c:if>
66 </c:forEach> 66 </c:forEach>
67 </select> 67 </select>
68 </td> 68 </td>
69 </tr> 69 </tr>
70 <tr> 70 <tr>
71 <th><fmt:message key="thead.issue.status"/></th> 71 <th><fmt:message key="issue.status"/></th>
72 <td> 72 <td>
73 <select name="status"> 73 <select name="status">
74 <c:forEach var="status" items="${issueStatusEnum}"> 74 <c:forEach var="status" items="${issueStatusEnum}">
75 <option 75 <option
76 <c:if test="${status eq issue.status}">selected</c:if> 76 <c:if test="${status eq issue.status}">selected</c:if>
80 </c:forEach> 80 </c:forEach>
81 </select> 81 </select>
82 </td> 82 </td>
83 </tr> 83 </tr>
84 <tr> 84 <tr>
85 <th><fmt:message key="thead.issue.subject"/></th> 85 <th><fmt:message key="issue.subject"/></th>
86 <td><input name="subject" type="text" maxlength="20" required value="<c:out value="${issue.subject}"/>" /></td> 86 <td><input name="subject" type="text" maxlength="20" required value="<c:out value="${issue.subject}"/>" /></td>
87 </tr> 87 </tr>
88 <tr> 88 <tr>
89 <th class="vtop"><fmt:message key="thead.issue.description"/></th> 89 <th class="vtop"><fmt:message key="issue.description"/></th>
90 <td> 90 <td>
91 <textarea name="description"><c:out value="${issue.description}"/></textarea> 91 <textarea name="description"><c:out value="${issue.description}"/></textarea>
92 </td> 92 </td>
93 </tr> 93 </tr>
94 <tr> 94 <tr>
95 <th><fmt:message key="thead.issue.assignee"/></th> 95 <th><fmt:message key="issue.assignee"/></th>
96 <td> 96 <td>
97 <select name="assignee"> 97 <select name="assignee">
98 <option value="-1"><fmt:message key="placeholder.null-assignee"/></option> 98 <option value="-1"><fmt:message key="placeholder.null-assignee"/></option>
99 <c:forEach var="user" items="${users}"> 99 <c:forEach var="user" items="${users}">
100 <option 100 <option
106 </tr> 106 </tr>
107 <tr> 107 <tr>
108 <th> 108 <th>
109 <c:choose> 109 <c:choose>
110 <c:when test="${issue.affectedVersions.size() gt 1}"> 110 <c:when test="${issue.affectedVersions.size() gt 1}">
111 <fmt:message key="thead.issue.affected-versions"/> 111 <fmt:message key="issue.affected-versions"/>
112 </c:when> 112 </c:when>
113 <c:otherwise> 113 <c:otherwise>
114 <fmt:message key="thead.issue.affected-version"/> 114 <fmt:message key="issue.affected-version"/>
115 </c:otherwise> 115 </c:otherwise>
116 </c:choose> 116 </c:choose>
117 </th> 117 </th>
118 <td>TODO</td> 118 <td>TODO</td>
119 </tr> 119 </tr>
120 <tr> 120 <tr>
121 <th> 121 <th>
122 <c:choose> 122 <c:choose>
123 <c:when test="${issue.scheduledVersions.size() gt 1}"> 123 <c:when test="${issue.scheduledVersions.size() gt 1}">
124 <fmt:message key="thead.issue.scheduled-versions"/> 124 <fmt:message key="issue.scheduled-versions"/>
125 </c:when> 125 </c:when>
126 <c:otherwise> 126 <c:otherwise>
127 <fmt:message key="thead.issue.scheduled-version"/> 127 <fmt:message key="issue.scheduled-version"/>
128 </c:otherwise> 128 </c:otherwise>
129 </c:choose> 129 </c:choose>
130 </th> 130 </th>
131 <td>TODO</td> 131 <td>TODO</td>
132 </tr> 132 </tr>
133 <tr> 133 <tr>
134 <th> 134 <th>
135 <c:choose> 135 <c:choose>
136 <c:when test="${issue.resolvedVersions.size() gt 1}"> 136 <c:when test="${issue.resolvedVersions.size() gt 1}">
137 <fmt:message key="thead.issue.resolved-versions"/> 137 <fmt:message key="issue.resolved-versions"/>
138 </c:when> 138 </c:when>
139 <c:otherwise> 139 <c:otherwise>
140 <fmt:message key="thead.issue.resolved-version"/> 140 <fmt:message key="issue.resolved-version"/>
141 </c:otherwise> 141 </c:otherwise>
142 </c:choose> 142 </c:choose>
143 </th> 143 </th>
144 <td>TODO</td> 144 <td>TODO</td>
145 </tr> 145 </tr>
146 <tr> 146 <tr>
147 <th><fmt:message key="thead.issue.eta"/></th> 147 <th><fmt:message key="issue.eta"/></th>
148 <td><input name="eta" type="date" value="<fmt:formatDate value="${issue.eta}" pattern="YYYY-MM-dd" />" /> </td> 148 <td><input name="eta" type="date" value="<fmt:formatDate value="${issue.eta}" pattern="YYYY-MM-dd" />" /> </td>
149 </tr> 149 </tr>
150 <tr> 150 <tr>
151 <th><fmt:message key="thead.issue.created"/></th> 151 <th><fmt:message key="issue.created"/></th>
152 <td><fmt:formatDate value="${issue.created}" /></td> 152 <td><fmt:formatDate value="${issue.created}" /></td>
153 </tr> 153 </tr>
154 <tr> 154 <tr>
155 <th><fmt:message key="thead.issue.updated"/></th> 155 <th><fmt:message key="issue.updated"/></th>
156 <td><fmt:formatDate value="${issue.updated}" /></td> 156 <td><fmt:formatDate value="${issue.updated}" /></td>
157 </tr> 157 </tr>
158 </tbody> 158 </tbody>
159 <tfoot> 159 <tfoot>
160 <tr> 160 <tr>

mercurial