Author: olamy
Date: Thu Jan 19 22:09:37 2012
New Revision: 1233594

URL: http://svn.apache.org/viewvc?rev=1233594&view=rev
Log:
use an icon for scan repository action

Added:
    
archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/images/view-refresh.png
   (with props)
Modified:
    
archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/templates/repositories.html

Added: 
archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/images/view-refresh.png
URL: 
http://svn.apache.org/viewvc/archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/images/view-refresh.png?rev=1233594&view=auto
==============================================================================
Binary file - no diff available.

Propchange: 
archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/images/view-refresh.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Modified: 
archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/templates/repositories.html
URL: 
http://svn.apache.org/viewvc/archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/templates/repositories.html?rev=1233594&r1=1233593&r2=1233594&view=diff
==============================================================================
--- 
archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/templates/repositories.html
 (original)
+++ 
archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/templates/repositories.html
 Thu Jan 19 22:09:37 2012
@@ -64,9 +64,9 @@
         {{each(i, columnDefinition) columns}}
           <th title="${ columnDefinition.title }">${ 
columnDefinition.headerText }</th>
         {{/each}}
-        <th>${$.i18n.prop('release.included')}</th>
-        <th>${$.i18n.prop('snapshots.included')}</th>
-        <th>${$.i18n.prop('managedrepository.scan.now')}</th>
+        <th>Releases</th>
+        <th>Snapshots</th>
+        <th>Scan</th>
         <th>${$.i18n.prop('edit')}</th>
         <th>${$.i18n.prop('delete')}</th>
       </tr>
@@ -79,20 +79,24 @@
             {{/each}}
             <td>
             {{if row.releases() == true}}
-              <img src="images/weather-clear.png"/>
+              <img src="images/weather-clear.png" 
title="${$.i18n.prop('release.included')}"/>
             {{else}}
-                <img src="images/dialog-error.png"/>
+              <img src="images/dialog-error.png" 
title="${$.i18n.prop('release.notincluded')}"/>
             {{/if}}
             </td>
 
             <td>
               {{if row.snapshots() == true}}
-                <img src="images/weather-clear.png"/>
+                <img src="images/weather-clear.png" 
title="${$.i18n.prop('snapshots.included')}"/>
               {{else}}
-                  <img src="images/dialog-error.png"/>
+                  <img src="images/dialog-error.png" 
title="${$.i18n.prop('snapshots.notincluded')}"/>
               {{/if}}
             </td>
-            <td><a href="#" data-bind="click: function(){ scanNow(row) 
}">${$.i18n.prop('managedrepository.scan.now')}</a></td>
+            <td>
+              <a href="#" data-bind="click: function(){ scanNow(row) }">
+                <img src="images/view-refresh.png" 
title="${$.i18n.prop('managedrepository.scan.now')}"/>
+              </a>
+            </td>
             <td><a href="#" data-bind="click: function(){ 
editManagedRepository(row) }">${$.i18n.prop('edit')}</a></td>
             <td>
               <a href="#" data-bind="click: function(){ 
removeManagedRepository(row) }">


Reply via email to