]> source.dussan.org Git - archiva.git/commitdiff
[MRM-1577] rewrite legacy path admin page
authorOlivier Lamy <olamy@apache.org>
Tue, 6 Mar 2012 18:32:45 +0000 (18:32 +0000)
committerOlivier Lamy <olamy@apache.org>
Tue, 6 Mar 2012 18:32:45 +0000 (18:32 +0000)
simplify only delete and add.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1297642 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/templates/general-admin.html

index 50330b4d11399af350100f851dc373db19998ad8..5e105daee002a43d01de6c9aa66472feefc9c4e5 100644 (file)
@@ -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>
               ${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>