mirror of https://github.com/apache/archiva.git
MRM-770 Related. Display classifier (use table because of messy alignment with lot of information)
This commit is contained in:
parent
25db694b6f
commit
70acb56d0c
|
@ -429,8 +429,8 @@ repository.selected.missing=You must select a repository
|
||||||
browse.artifact.content.view.tooltip=View Artifact Content
|
browse.artifact.content.view.tooltip=View Artifact Content
|
||||||
browse.artifact.content.delete.tooltip=Delete Artifact
|
browse.artifact.content.delete.tooltip=Delete Artifact
|
||||||
browse.artifact.content.download.tooltip=Download Artifact
|
browse.artifact.content.download.tooltip=Download Artifact
|
||||||
|
browse.artifact.size=Size
|
||||||
|
browse.artifact.classifier=Classifier
|
||||||
#login
|
#login
|
||||||
login.username.placehoder=Username
|
login.username.placehoder=Username
|
||||||
login.password.placehoder=Password
|
login.password.placehoder=Password
|
||||||
|
|
|
@ -953,32 +953,50 @@
|
||||||
<script id="artifact-details-download-content_tmpl" type="text/html">
|
<script id="artifact-details-download-content_tmpl" type="text/html">
|
||||||
|
|
||||||
<div class="row-fluid">
|
<div class="row-fluid">
|
||||||
<div class="span5">
|
<div class="span12">
|
||||||
<ul id="artifact-download-list-files" class="package-list">
|
<table id="artifact-download-list-files" class="table table-bordered table-striped">
|
||||||
{{each(i, row) artifacts()}}
|
<thead>
|
||||||
<li>
|
<tr>
|
||||||
<img src="images/system-search-16-16.png" class="cursor-hand" id="${row.classifier}:${row.version}:${row.packaging}"
|
<th> </th>
|
||||||
title="${$.i18n.prop('browse.artifact.content.view.tooltip')}"/>
|
{{if deleteKarma}}<th> </th>{{/if}}
|
||||||
{{if deleteKarma}}
|
<th> </th>
|
||||||
<a href="#" data-bind="click: function(){deleteArtifact(row)}">
|
<th>${$.i18n.prop('browse.artifact.version')}</th>
|
||||||
<img src="images/trash.png" title="${$.i18n.prop('browse.artifact.content.delete.tooltip')}"/>
|
<th>${$.i18n.prop('browse.artifact.packaging')}</th>
|
||||||
</a>
|
<th>${$.i18n.prop('browse.artifact.classifier')}</th>
|
||||||
|
<th>${$.i18n.prop('browse.artifact.size')}</th>
|
||||||
<a href="${row.url}">
|
</tr>
|
||||||
<img src="images/drive-removable-media-16-16.png" title="${$.i18n.prop('browse.artifact.content.download.tooltip')}"/>
|
</thead>
|
||||||
</a>
|
<tbody>
|
||||||
|
{{each(i, row) artifacts()}}
|
||||||
<span class="text-info">${row.packaging}:${row.version} - ${row.size}</span>
|
<tr>
|
||||||
{{else}}
|
<td>
|
||||||
<a href="${row.url}">
|
<img src="images/system-search-16-16.png" class="cursor-hand" id="${row.classifier}:${row.version}:${row.packaging}"
|
||||||
<img src="images/drive-removable-media-16-16.png" title="${$.i18n.prop('browse.artifact.content.download.tooltip')}"/>
|
title="${$.i18n.prop('browse.artifact.content.view.tooltip')}"/>
|
||||||
</a>
|
</td>
|
||||||
|
{{if deleteKarma}}
|
||||||
<span class="text-info">${row.packaging}:${row.version} - ${row.size}</span>
|
<td>
|
||||||
{{/if}}
|
<a href="#" data-bind="click: function(){deleteArtifact(row)}">
|
||||||
</li>
|
<img src="images/trash.png" title="${$.i18n.prop('browse.artifact.content.delete.tooltip')}"/>
|
||||||
{{/each}}
|
</a>
|
||||||
</ul>
|
</td>
|
||||||
|
{{/if}}
|
||||||
|
<td>
|
||||||
|
<a href="${row.url}">
|
||||||
|
<img src="images/drive-removable-media-16-16.png" title="${$.i18n.prop('browse.artifact.content.download.tooltip')}"/>
|
||||||
|
</a>
|
||||||
|
</td>
|
||||||
|
<td>${row.version}</td>
|
||||||
|
<td>${row.packaging}</td>
|
||||||
|
{{if row.classifier }}
|
||||||
|
<td>${row.classifier}</td>
|
||||||
|
{{else}}
|
||||||
|
<td> </td>
|
||||||
|
{{/if}}
|
||||||
|
<td>${row.size}</td>
|
||||||
|
</tr>
|
||||||
|
{{/each}}
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<div class="span7">
|
<div class="span7">
|
||||||
<div id="artifact_content_tree">
|
<div id="artifact_content_tree">
|
||||||
|
|
Loading…
Reference in New Issue