]> source.dussan.org Git - archiva.git/commitdiff
magnify artifact info
authorOlivier Lamy <olamy@apache.org>
Sat, 25 Feb 2012 21:15:50 +0000 (21:15 +0000)
committerOlivier Lamy <olamy@apache.org>
Sat, 25 Feb 2012 21:15:50 +0000 (21:15 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1293695 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-web/archiva-web-common/src/main/resources/org/apache/archiva/i18n/default.properties
archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/templates/search.html

index de07b451a971e62193a228eb30df0b41c668c74a..f45b5ff21eaf7db58231575a8c04d438c0fea140 100644 (file)
@@ -184,4 +184,12 @@ roles.bulk.save.confirm.title=Roles Bulk Save
 
 #browse
 browse.repository=Browse Repository
+browse.artifact.display.artifactInfo=Artifact Info
+browse.artifact.name=Name
+browse.artifact.artifactId=Artifact ID
+browse.artifact.groupId=Group ID
+browse.artifact.versions=Versions
+browse.artifact.organization.name=Organization
+browse.artifact.organization.issueManagement=Issue Tracker
+browse.artifact.description=Description
 
index 73f2ec3b9ec4d872a1e1021ab721bdf15c9a3d65..0595454b68421416fac33c0bbbb4267ea39c0c13 100644 (file)
     </div>
     <br/>
     <div id="artifact-info" class="alert alert-info" style="display: none">
-      <div>${$.i18n.prop('browse.artifact.groupId')}:&nbsp;${groupId}</div>
-      <div>${$.i18n.prop('browse.artifact.artifactId')}:&nbsp;${artifactId}</div>
-      <div>${$.i18n.prop('browse.artifact.name')}:&nbsp;${projectVersionMetadata.name}</div>
-      <div>${$.i18n.prop('browse.artifact.organization.name')}:&nbsp;${projectVersionMetadata.organization.name}</div>
-      {{if  projectVersionMetadata.issueManagement}}
-        <div>${$.i18n.prop('browse.artifact.organization.issueManagement')}:&nbsp;
-            <a href="${projectVersionMetadata.issueManagement.url}" target="_blank">${projectVersionMetadata.issueManagement.system}</a>
-        </div>
-      {{/if}}
+      <table class="table table-condensed">
+        <tbody>
+          <tr>
+            <th>${$.i18n.prop('browse.artifact.groupId')}</th>
+            <td>${groupId}</td>
+          </tr>
+          <tr>
+            <th>${$.i18n.prop('browse.artifact.artifactId')}</th>
+            <td>${artifactId}</td>
+          </tr>
+          <tr>
+            <th>${$.i18n.prop('browse.artifact.name')}</th>
+            <td>${projectVersionMetadata.name}</td>
+          </tr>
+          <tr>
+            <th>${$.i18n.prop('browse.artifact.description')}</th>
+            <td>${projectVersionMetadata.description}</td>
+          </tr>
+          {{if projectVersionMetadata.organization}}
+          <tr>
+            <th>${$.i18n.prop('browse.artifact.organization.name')}</th>
+            <td>${projectVersionMetadata.organization.name}</td>
+          </tr>
+          {{/if}}
+          {{if projectVersionMetadata.issueManagement}}
+          <tr>
+            <th>${$.i18n.prop('browse.artifact.organization.issueManagement')}</th>
+            <td><a href="${projectVersionMetadata.issueManagement.url}" target="_blank">${projectVersionMetadata.issueManagement.system}</a></td>
+          </tr>
+          {{/if}}
+        </tbody>
+      </table>
     </div>
 
     <div class="page-header">