--- a/web/WEB-INF/dynamic_fragments/modules.jsp Sun Apr 08 14:41:10 2018 +0200 +++ b/web/WEB-INF/dynamic_fragments/modules.jsp Sun Apr 08 15:34:11 2018 +0200 @@ -29,24 +29,26 @@ <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> <%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> -<%-- TODO: a lot of work --%> -<table> +<h2><fmt:message key="section.modlist.title"/></h2> +<table class="datatable"> <tr> - <th>Module</th> - <th>Path</th> - <th>Description</th> - <th>Active</th> - <th>Class</th> - <th>Resource Bundle</th> + <th class="hcenter"><fmt:message key="caption.active" /></th> + <th><fmt:message key="caption.module" /></th> + <th><fmt:message key="caption.path" /></th> + <th><fmt:message key="caption.desc" /></th> + <th><fmt:message key="caption.class" /></th> + <th><fmt:message key="caption.bundle" /></th> </tr> <c:forEach items="${modules}" var="module"> <tr> - <td>${module.annotatedInfos.nameKey}</td> - <td>${module.annotatedInfos.modulePath}</td> - <td>${module.annotatedInfos.descKey}</td> - <td align="center">${module.visible}</td> - <td>${module.classname}</td> - <td>${module.annotatedInfos.bundleBaseName}</td> + <td class="hcenter">${module.visible}</td> + <fmt:bundle basename="${module.annotatedInfos.bundleBaseName}"> + <td class="nowrap"><fmt:message key="${module.annotatedInfos.nameKey}" /></td> + <td>/${module.annotatedInfos.modulePath}</td> + <td><fmt:message key="${module.annotatedInfos.descKey}" /></td> + <td class="smalltext">${module.classname}</td> + <td class="smalltext">${module.annotatedInfos.bundleBaseName}</td> + </fmt:bundle> </tr> </c:forEach> </table> \ No newline at end of file