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}}
|
{{each(i, columnDefinition) columns}}
|
||||||
<th>${ columnDefinition.headerText }</th>
|
<th>${ columnDefinition.headerText }</th>
|
||||||
{{/each}}
|
{{/each}}
|
||||||
<th>${$.i18n.prop('edit')}</th>
|
|
||||||
<th>${$.i18n.prop('delete')}</th>
|
<th>${$.i18n.prop('delete')}</th>
|
||||||
<th>${$.i18n.prop('modified')}</th>
|
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
|
@ -62,24 +60,11 @@
|
||||||
${val}
|
${val}
|
||||||
</td>
|
</td>
|
||||||
{{/each}}
|
{{/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>
|
<td>
|
||||||
<a href="#" data-bind="click: function(){ removeLegacyArtifactPath(row) }">
|
<a href="#" data-bind="click: function(){ removeLegacyArtifactPath(row) }">
|
||||||
<img src="images/edit-cut.png" title="${$.i18n.prop('delete')}"/>
|
<img src="images/edit-cut.png" title="${$.i18n.prop('delete')}"/>
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</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>
|
</tr>
|
||||||
{{/each}}
|
{{/each}}
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|
Loading…
Reference in New Issue