]> source.dussan.org Git - archiva.git/commitdiff
[MRM-131] add some extra fields to the browse page
authorBrett Porter <brett@apache.org>
Fri, 25 Aug 2006 08:04:52 +0000 (08:04 +0000)
committerBrett Porter <brett@apache.org>
Fri, 25 Aug 2006 08:04:52 +0000 (08:04 +0000)
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@436706 13f79535-47bb-0310-9956-ffa450edef68

maven-repository-webapp/src/main/webapp/WEB-INF/jsp/showArtifact.jsp

index 3c7df97ac56ec9cce16fe6bf2fd3e6481f38e9cc..ed843a634cb4ad1fbe6c246f053eb128103ef1a6 100644 (file)
     <th>Version</th>
     <td>${model.version}</td>
   </tr>
-  <%-- TODO: derivatives
+  <tr>
+      <th>Packaging</th>
+      <td><code>${model.packaging}</code></td>
+    </tr>
+    <%-- TODO: derivatives
     <tr>
       <th>Derivatives</th>
       <td>
   -->
 </table>
 
-<c:if test="${model.organization != null || !empty(model.licenses)
+<c:if test="${!empty(model.url) || model.organization != null || !empty(model.licenses)
     || model.issueManagement != null || model.ciManagement != null}">
 
   <h2>Other Details</h2>
   <table>
+    <c:if test="${!empty(model.url)}">
+      <tr>
+        <th>URL</th>
+        <td>
+          <a href="${model.url}">${model.url}</a>
+        </td>
+      </tr>
+    </c:if>
     <c:if test="${model.organization != null}">
       <tr>
         <th>Organisation</th>