magnify artifact info

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1293695 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2012-02-25 21:15:50 +00:00
parent 628c50b48d
commit 1955d4ba1a
2 changed files with 40 additions and 9 deletions

View 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

View File

@ -94,15 +94,38 @@
</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>
<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">