src/main/webapp/WEB-INF/jsp/project-details.jsp

changeset 78
bb4c52bf3439
parent 75
33b6843fdf8a
child 80
27a25f32048e
equal deleted inserted replaced
77:192298f8161f 78:bb4c52bf3439
23 CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 23 CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
24 OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 24 OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
25 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 --%> 26 --%>
27 <%@page pageEncoding="UTF-8" %> 27 <%@page pageEncoding="UTF-8" %>
28 <%@page import="de.uapcore.lightpit.Constants" %>
29 <%@page import="de.uapcore.lightpit.modules.ProjectsModule" %> 28 <%@page import="de.uapcore.lightpit.modules.ProjectsModule" %>
30 <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> 29 <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
31 <%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> 30 <%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
32 31
33 <c:set scope="page" var="moduleInfo" value="${requestScope[Constants.REQ_ATTR_MODULE_INFO]}"/>
34 <c:set scope="page" var="selectedProject" value="${sessionScope[ProjectsModule.SESSION_ATTR_SELECTED_PROJECT]}"/> 32 <c:set scope="page" var="selectedProject" value="${sessionScope[ProjectsModule.SESSION_ATTR_SELECTED_PROJECT]}"/>
35 33
36 <jsp:useBean id="versions" type="java.util.List<de.uapcore.lightpit.entities.Version>" scope="request"/> 34 <jsp:useBean id="versions" type="java.util.List<de.uapcore.lightpit.entities.Version>" scope="request"/>
37 <jsp:useBean id="issues" type="java.util.List<de.uapcore.lightpit.entities.Issue>" scope="request"/> 35 <jsp:useBean id="issues" type="java.util.List<de.uapcore.lightpit.entities.Issue>" scope="request"/>
38 36
39 <div id="tool-area"> 37 <div id="tool-area">
40 <a href="./${moduleInfo.modulePath}/versions/edit" class="button"><fmt:message key="button.version.create"/></a> 38 <a href="./projects/versions/edit" class="button"><fmt:message key="button.version.create"/></a>
41 <a href="./${moduleInfo.modulePath}/issues/edit" class="button"><fmt:message key="button.issue.create"/></a> 39 <a href="./projects/issues/edit" class="button"><fmt:message key="button.issue.create"/></a>
42 </div> 40 </div>
43 41
44 <c:if test="${not empty versions}"> 42 <c:if test="${not empty versions}">
45 <table id="version-list" class="datatable medskip"> 43 <table id="version-list" class="datatable medskip">
46 <thead> 44 <thead>
51 </tr> 49 </tr>
52 </thead> 50 </thead>
53 <tbody> 51 <tbody>
54 <c:forEach var="version" items="${versions}"> 52 <c:forEach var="version" items="${versions}">
55 <tr class="nowrap"> 53 <tr class="nowrap">
56 <td style="width: 2em;"><a href="./${moduleInfo.modulePath}/versions/edit?id=${version.id}">&#x270e;</a> 54 <td style="width: 2em;"><a href="./projects/versions/edit?id=${version.id}">&#x270e;</a>
57 </td> 55 </td>
58 <td><c:out value="${version.name}"/></td> 56 <td><c:out value="${version.name}"/></td>
59 <td><fmt:message key="version.status.${version.status}"/></td> 57 <td><fmt:message key="version.status.${version.status}"/></td>
60 </tr> 58 </tr>
61 </c:forEach> 59 </c:forEach>

mercurial