|     35  | 
    35  | 
|     36 <jsp:useBean id="projects" type="java.util.List<de.uapcore.lightpit.entities.Project>" scope="request"/> | 
    36 <jsp:useBean id="projects" type="java.util.List<de.uapcore.lightpit.entities.Project>" scope="request"/> | 
|     37  | 
    37  | 
|     38 <c:if test="${empty projects}"> | 
    38 <c:if test="${empty projects}"> | 
|     39     <div class="info-box"> | 
    39     <div class="info-box"> | 
|     40     <fmt:message key="no-projects" /> | 
    40         <fmt:message key="no-projects"/> | 
|     41     </div> | 
    41     </div> | 
|     42 </c:if> | 
    42 </c:if> | 
|     43  | 
    43  | 
|     44 <div id="tool-area"> | 
    44 <div id="tool-area"> | 
|     45     <a href="./${moduleInfo.modulePath}/edit" class="button"><fmt:message key="button.create" /></a> | 
    45     <a href="./${moduleInfo.modulePath}/edit" class="button"><fmt:message key="button.create"/></a> | 
|     46 </div> | 
    46 </div> | 
|     47  | 
    47  | 
|     48 <c:if test="${not empty projects}"> | 
    48 <c:if test="${not empty projects}"> | 
|     49 <table id="project-list" class="datatable medskip fullwidth"> | 
    49     <table id="project-list" class="datatable medskip fullwidth"> | 
|     50     <colgroup> | 
    50         <colgroup> | 
|     51         <col> | 
    51             <col> | 
|     52         <col style="width: 10%"> | 
    52             <col style="width: 10%"> | 
|     53         <col style="width: 35%"> | 
    53             <col style="width: 35%"> | 
|     54         <col style="width: 30%"> | 
    54             <col style="width: 30%"> | 
|     55         <col style="width: 25%"> | 
    55             <col style="width: 25%"> | 
|     56     </colgroup> | 
    56         </colgroup> | 
|     57     <thead> | 
    57         <thead> | 
|     58     <tr> | 
    58         <tr> | 
|     59         <th></th> | 
    59             <th></th> | 
|     60         <th><fmt:message key="thead.name"/></th> | 
    60             <th><fmt:message key="thead.name"/></th> | 
|     61         <th><fmt:message key="thead.description"/></th> | 
    61             <th><fmt:message key="thead.description"/></th> | 
|     62         <th><fmt:message key="thead.repoUrl"/></th> | 
    62             <th><fmt:message key="thead.repoUrl"/></th> | 
|     63         <th><fmt:message key="thead.owner"/></th> | 
    63             <th><fmt:message key="thead.owner"/></th> | 
|     64     </tr> | 
        | 
|     65     </thead> | 
        | 
|     66     <tbody> | 
        | 
|     67     <c:forEach var="project" items="${projects}"> | 
        | 
|     68         <tr class="nowrap"> | 
        | 
|     69             <td style="width: 2em;"><a href="./${moduleInfo.modulePath}/edit?id=${project.id}">✎</a></td> | 
        | 
|     70             <td><a href="./${moduleInfo.modulePath}/view?pid=${project.id}"><c:out value="${project.name}"/></a></td> | 
        | 
|     71             <td><c:out value="${project.description}"/></td> | 
        | 
|     72             <td> | 
        | 
|     73                 <c:if test="${not empty project.repoUrl}"> | 
        | 
|     74                 <a target="_blank" href="<c:out value="${project.repoUrl}"/>"><c:out value="${project.repoUrl}"/></a> | 
        | 
|     75                 </c:if> | 
        | 
|     76             </td> | 
        | 
|     77             <td> | 
        | 
|     78             <c:if test="${not empty project.owner}"><c:out value="${project.owner.displayname}"/></c:if> | 
        | 
|     79             <c:if test="${empty project.owner}"><fmt:message key="placeholder.null-owner" /></c:if> | 
        | 
|     80             </td> | 
        | 
|     81         </tr> | 
    64         </tr> | 
|     82     </c:forEach> | 
    65         </thead> | 
|     83     </tbody> | 
    66         <tbody> | 
|     84 </table> | 
    67         <c:forEach var="project" items="${projects}"> | 
|         | 
    68             <tr class="nowrap"> | 
|         | 
    69                 <td style="width: 2em;"><a href="./${moduleInfo.modulePath}/edit?id=${project.id}">✎</a></td> | 
|         | 
    70                 <td><a href="./${moduleInfo.modulePath}/view?pid=${project.id}"><c:out value="${project.name}"/></a> | 
|         | 
    71                 </td> | 
|         | 
    72                 <td><c:out value="${project.description}"/></td> | 
|         | 
    73                 <td> | 
|         | 
    74                     <c:if test="${not empty project.repoUrl}"> | 
|         | 
    75                         <a target="_blank" href="<c:out value="${project.repoUrl}"/>"><c:out | 
|         | 
    76                                 value="${project.repoUrl}"/></a> | 
|         | 
    77                     </c:if> | 
|         | 
    78                 </td> | 
|         | 
    79                 <td> | 
|         | 
    80                     <c:if test="${not empty project.owner}"><c:out value="${project.owner.displayname}"/></c:if> | 
|         | 
    81                     <c:if test="${empty project.owner}"><fmt:message key="placeholder.null-owner"/></c:if> | 
|         | 
    82                 </td> | 
|         | 
    83             </tr> | 
|         | 
    84         </c:forEach> | 
|         | 
    85         </tbody> | 
|         | 
    86     </table> | 
|     85 </c:if> | 
    87 </c:if> |