mirror of https://github.com/apache/archiva.git
[MRM-1577] rewrite legacy path admin page
simplify only delete and add. git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1297642 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
fcb3251ff6
commit
7e377a16bf
|
@ -48,9 +48,7 @@
|
|||
{{each(i, columnDefinition) columns}}
|
||||
<th>${ columnDefinition.headerText }</th>
|
||||
{{/each}}
|
||||
<th>${$.i18n.prop('edit')}</th>
|
||||
<th>${$.i18n.prop('delete')}</th>
|
||||
<th>${$.i18n.prop('modified')}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
@ -62,24 +60,11 @@
|
|||
${val}
|
||||
</td>
|
||||
{{/each}}
|
||||
<td>
|
||||
<a href="#" data-bind="click: function(){ editLegacyArtifactPath(row) }">
|
||||
<img src="images/edit-find-22-22.png" title="${$.i18n.prop('edit')}">
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
<a href="#" data-bind="click: function(){ removeLegacyArtifactPath(row) }">
|
||||
<img src="images/edit-cut.png" title="${$.i18n.prop('delete')}"/>
|
||||
</a>
|
||||
</td>
|
||||
{{if row.modified()}}
|
||||
<td>
|
||||
<a href="#" data-bind="click: function(){ updateLegacyArtifactPath(row) }" class="btn btn-warning">${$.i18n.prop('save')}</a>
|
||||
</td>
|
||||
{{else}}
|
||||
<td></td>
|
||||
{{/if}}
|
||||
|
||||
</tr>
|
||||
{{/each}}
|
||||
</tbody>
|
||||
|
|
Loading…
Reference in New Issue