зеркало из
https://github.com/nextcloud/server.git
synced 2024-08-12 14:11:31 +02:00
use history icon in Deleted Files template as well
Этот коммит содержится в:
родитель
1f518025a3
Коммит
2a57763542
@ -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");
|
||||
|
@ -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>
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user