src/main/webapp/WEB-INF/jsp/versions.jsp

changeset 110
9d0be0b1580f
parent 109
2e0669e814ff
child 112
a9221ecacd05
     1.1 --- a/src/main/webapp/WEB-INF/jsp/versions.jsp	Thu Oct 08 20:16:47 2020 +0200
     1.2 +++ b/src/main/webapp/WEB-INF/jsp/versions.jsp	Thu Oct 08 20:38:43 2020 +0200
     1.3 @@ -34,7 +34,7 @@
     1.4  <%@include file="../jspf/project-header.jsp"%>
     1.5  
     1.6  <div id="tool-area">
     1.7 -    <a href="./projects/versions/edit" class="button"><fmt:message key="button.version.create"/></a>
     1.8 +    <a href="./projects/versions/edit?vid=-1" class="button"><fmt:message key="button.version.create"/></a>
     1.9      <a href="./projects/issues/edit?pid=${project.id}" class="button"><fmt:message key="button.issue.create"/></a>
    1.10  </div>
    1.11  
    1.12 @@ -46,14 +46,13 @@
    1.13  <table id="version-list" class="datatable medskip fullwidth">
    1.14      <colgroup>
    1.15          <col>
    1.16 -        <col width="20%">
    1.17 -        <col width="20%">
    1.18 -        <col width="10%">
    1.19 -        <col width="10%">
    1.20 -        <col width="10%">
    1.21 -        <col width="10%">
    1.22 -        <col width="10%">
    1.23 -        <col width="10%">
    1.24 +        <col width="28%">
    1.25 +        <col width="12%">
    1.26 +        <col width="12%">
    1.27 +        <col width="12%">
    1.28 +        <col width="12%">
    1.29 +        <col width="12%">
    1.30 +        <col width="12%">
    1.31      </colgroup>
    1.32      <thead>
    1.33      <tr>
    1.34 @@ -68,7 +67,6 @@
    1.35      <tr>
    1.36          <th></th>
    1.37          <th><fmt:message key="version.name"/></th>
    1.38 -        <th><fmt:message key="version.status" /></th>
    1.39          <th class="hcenter"><fmt:message key="issues.open" /></th>
    1.40          <th class="hcenter"><fmt:message key="issues.active" /></th>
    1.41          <th class="hcenter"><fmt:message key="issues.done" /></th>
    1.42 @@ -85,9 +83,9 @@
    1.43                  <a href="projects/view?pid=${viewmodel.projectInfo.project.id}&vid=${versionInfo.version.id}">
    1.44                      <c:out value="${versionInfo.version.name}"/>
    1.45                  </a>
    1.46 -            </td>
    1.47 -            <td>
    1.48 -                <fmt:message key="version.status.${versionInfo.version.status}"/>
    1.49 +                <div class="version-tag version-${versionInfo.version.status}">
    1.50 +                    <c:out value="${versionInfo.version.status}"/>
    1.51 +                </div>
    1.52              </td>
    1.53              <td class="hright">${versionInfo.resolvedTotal.open}</td>
    1.54              <td class="hright">${versionInfo.resolvedTotal.active}</td>

mercurial