]> source.dussan.org Git - nextcloud-server.git/commitdiff
use history icon in Deleted Files template as well
authorJan-Christoph Borchardt <hey@jancborchardt.net>
Mon, 17 Jun 2013 11:30:57 +0000 (13:30 +0200)
committerJan-Christoph Borchardt <hey@jancborchardt.net>
Mon, 17 Jun 2013 11:30:57 +0000 (13:30 +0200)
apps/files_trashbin/js/trash.js
apps/files_trashbin/templates/index.php

index 307ac743a3c9b2b8881460eeeccc330dfeac03f7..87dfea491e76afd917c9ba0bcad616be57612b9f 100644 (file)
@@ -2,7 +2,7 @@
 $(document).ready(function() {
 
        if (typeof FileActions !== 'undefined') {
-               FileActions.register('all', 'Restore', OC.PERMISSION_READ,  OC.imagePath('core', 'actions/history.svg'), function(filename) {
+               FileActions.register('all', 'Restore', OC.PERMISSION_READ, OC.imagePath('core', 'actions/history'), function(filename) {
                        var tr=$('tr').filterAttr('data-file', filename);
                        var spinner = '<img class="move2trash" title="'+t('files_trashbin', 'perform restore operation')+'" src="'+ OC.imagePath('core', 'loading.gif') +'"></a>';
                        var undeleteAction = $('tr').filterAttr('data-file',filename).children("td.date");
index cb5edaa2c91e4718dbb678f3d8943ab9b0575ba9..66ec36df867093975df8de6193669c5e5e7f3a77 100644 (file)
@@ -18,7 +18,7 @@
                                <span class='selectedActions'>
                                                <a href="" class="undelete">
                                                        <img class="svg" alt="<?php p($l->t( 'Restore' )); ?>"
-                                                                src="<?php print_unescaped(OCP\image_path("core", "actions/undelete.png")); ?>" />
+                                                                src="<?php print_unescaped(OCP\image_path("core", "actions/history.svg")); ?>" />
                                                        <?php p($l->t('Restore'))?>
                                                </a>
                                </span>