]> source.dussan.org Git - archiva.git/commitdiff
use an icon for scan repository action
authorOlivier Lamy <olamy@apache.org>
Thu, 19 Jan 2012 22:09:37 +0000 (22:09 +0000)
committerOlivier Lamy <olamy@apache.org>
Thu, 19 Jan 2012 22:09:37 +0000 (22:09 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1233594 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/images/view-refresh.png [new file with mode: 0644]
archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/templates/repositories.html

diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/images/view-refresh.png b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/images/view-refresh.png
new file mode 100644 (file)
index 0000000..3fd71d6
Binary files /dev/null and b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/images/view-refresh.png differ
index 962baa92c18d0dbd31f3d26e99d87869519822e9..4dad3912117411abfa24765b98beb16ba4289570 100644 (file)
@@ -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>
             {{/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) }">