#157 adds assignee column to issue list

Tue, 10 Aug 2021 18:18:06 +0200

author
Mike Becker <universe@uap-core.de>
date
Tue, 10 Aug 2021 18:18:06 +0200
changeset 220
1f7e76a213dd
parent 219
556c03f1dd4e
child 221
33d7833ca54c

#157 adds assignee column to issue list

src/main/webapp/WEB-INF/jsp/site.jsp file | annotate | diff | comparison | revisions
src/main/webapp/WEB-INF/jspf/issue-list.jspf file | annotate | diff | comparison | revisions
src/main/webapp/lightpit.css file | annotate | diff | comparison | revisions
--- a/src/main/webapp/WEB-INF/jsp/site.jsp	Mon Aug 09 17:09:54 2021 +0200
+++ b/src/main/webapp/WEB-INF/jsp/site.jsp	Tue Aug 10 18:18:06 2021 +0200
@@ -31,7 +31,7 @@
 <%@taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
 
 <%-- Version suffix for forcing browsers to update the CSS / JS files --%>
-<c:set scope="page" var="versionSuffix" value="20210809b"/>
+<c:set scope="page" var="versionSuffix" value="20210810"/>
 
 <%-- Make the base href easily available at request scope --%>
 <c:set scope="page" var="baseHref" value="${requestScope[Constants.REQ_ATTR_BASE_HREF]}"/>
--- a/src/main/webapp/WEB-INF/jspf/issue-list.jspf	Mon Aug 09 17:09:54 2021 +0200
+++ b/src/main/webapp/WEB-INF/jspf/issue-list.jspf	Tue Aug 10 18:18:06 2021 +0200
@@ -5,13 +5,15 @@
 --%>
 <table class="fullwidth datatable medskip">
     <colgroup>
-        <col width="auto" />
-        <col width="10%" />
+        <col style="width: auto" />
+        <col style="width: 10%" />
+        <col style="width: 10%" />
     </colgroup>
     <thead>
         <tr>
             <th><fmt:message key="issue.subject"/></th>
             <th><fmt:message key="issue.eta"/></th>
+            <th><fmt:message key="issue.assignee"/></th>
         </tr>
     </thead>
     <tbody>
@@ -36,6 +38,16 @@
                     <fmt:formatDate value="${issue.eta}" />
                 </span>
             </td>
+            <td>
+                <c:if test="${not empty issue.assignee}">
+                    <c:if test="${not empty issue.assignee.mail}">
+                        <a href="mailto:${issue.assignee.mail}" title="<c:out value="${issue.assignee.displayname}"/>"><c:out value="${issue.assignee.username}"/></a>
+                    </c:if>
+                    <c:if test="${empty issue.assignee.mail}">
+                        <span title="<c:out value="${issue.assignee.displayname}"/>"><c:out value="${issue.assignee.username}"/></span>
+                    </c:if>
+                </c:if>
+            </td>
         </tr>
     </c:forEach>
     </tbody>
--- a/src/main/webapp/lightpit.css	Mon Aug 09 17:09:54 2021 +0200
+++ b/src/main/webapp/lightpit.css	Tue Aug 10 18:18:06 2021 +0200
@@ -132,7 +132,7 @@
 
 #sideMenu .menuEntry {
     white-space: nowrap;
-    padding-right: 1em;
+    padding-right: 2em;
     padding-top: .25em;
     padding-bottom: .25em;
     border-bottom-style: solid;
@@ -149,15 +149,15 @@
 }
 
 #sideMenu .level-0 {
-    padding-left: .25em;
+    padding-left: .75em;
 }
 
 #sideMenu .level-1 {
-    padding-left: .75em;
+    padding-left: 1.25em;
 }
 
 #sideMenu .level-2 {
-    padding-left: 2em;
+    padding-left: 2.5em;
 }
 
 #content-area {

mercurial