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

changeset 136
7281bdf43c60
parent 134
f47e82cd6077
child 142
c0549bcdf2ab
--- a/src/main/webapp/WEB-INF/jsp/issue-form.jsp	Sat Oct 17 20:06:14 2020 +0200
+++ b/src/main/webapp/WEB-INF/jsp/issue-form.jsp	Thu Oct 22 11:06:15 2020 +0200
@@ -128,7 +128,10 @@
             <th><fmt:message key="issue.assignee"/></th>
             <td>
                 <select name="assignee">
-                    <option value="-1"><fmt:message key="placeholder.null-assignee"/></option>
+                    <option value="-2" title="<fmt:message key="placeholder.auto-assignee.tooltip"/>"><fmt:message key="placeholder.auto-assignee"/></option>
+                    <option value="-1"
+                            <c:if test="${issue.id ge 0 and empty issue.assignee}">selected</c:if>
+                    ><fmt:message key="placeholder.null-assignee"/></option>
                     <c:forEach var="user" items="${viewmodel.users}">
                         <option
                                 <c:if test="${not empty issue.assignee and user eq issue.assignee}">selected</c:if>

mercurial