archiva-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1297642 - /archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/templates/general-admin.html
Date Tue, 06 Mar 2012 18:32:46 GMT
Author: olamy
Date: Tue Mar  6 18:32:45 2012
New Revision: 1297642

URL: http://svn.apache.org/viewvc?rev=1297642&view=rev
Log:
[MRM-1577] rewrite legacy path admin page
simplify only delete and add.

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

Modified: archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/templates/general-admin.html
URL: http://svn.apache.org/viewvc/archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/templates/general-admin.html?rev=1297642&r1=1297641&r2=1297642&view=diff
==============================================================================
--- archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/templates/general-admin.html
(original)
+++ archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/templates/general-admin.html
Tue Mar  6 18:32:45 2012
@@ -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>
@@ -63,23 +61,10 @@
           </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>



Mime
View raw message