--- a/src/main/webapp/WEB-INF/jsp/versions.jsp Thu Oct 08 20:16:47 2020 +0200 +++ b/src/main/webapp/WEB-INF/jsp/versions.jsp Thu Oct 08 20:38:43 2020 +0200 @@ -34,7 +34,7 @@ <%@include file="../jspf/project-header.jsp"%> <div id="tool-area"> - <a href="./projects/versions/edit" class="button"><fmt:message key="button.version.create"/></a> + <a href="./projects/versions/edit?vid=-1" class="button"><fmt:message key="button.version.create"/></a> <a href="./projects/issues/edit?pid=${project.id}" class="button"><fmt:message key="button.issue.create"/></a> </div> @@ -46,14 +46,13 @@ <table id="version-list" class="datatable medskip fullwidth"> <colgroup> <col> - <col width="20%"> - <col width="20%"> - <col width="10%"> - <col width="10%"> - <col width="10%"> - <col width="10%"> - <col width="10%"> - <col width="10%"> + <col width="28%"> + <col width="12%"> + <col width="12%"> + <col width="12%"> + <col width="12%"> + <col width="12%"> + <col width="12%"> </colgroup> <thead> <tr> @@ -68,7 +67,6 @@ <tr> <th></th> <th><fmt:message key="version.name"/></th> - <th><fmt:message key="version.status" /></th> <th class="hcenter"><fmt:message key="issues.open" /></th> <th class="hcenter"><fmt:message key="issues.active" /></th> <th class="hcenter"><fmt:message key="issues.done" /></th> @@ -85,9 +83,9 @@ <a href="projects/view?pid=${viewmodel.projectInfo.project.id}&vid=${versionInfo.version.id}"> <c:out value="${versionInfo.version.name}"/> </a> - </td> - <td> - <fmt:message key="version.status.${versionInfo.version.status}"/> + <div class="version-tag version-${versionInfo.version.status}"> + <c:out value="${versionInfo.version.status}"/> + </div> </td> <td class="hright">${versionInfo.resolvedTotal.open}</td> <td class="hright">${versionInfo.resolvedTotal.active}</td>