summaryrefslogtreecommitdiffstats
path: root/apps/files/templates
diff options
context:
space:
mode:
authorBjörn Schießle <schiessle@owncloud.com>2013-01-15 20:35:15 +0100
committerBjörn Schießle <schiessle@owncloud.com>2013-01-22 15:32:57 +0100
commit9d77317de82cb5ea3e3e8e2a3d13122134e0ca0c (patch)
tree531989dc911eac1206456c2209ea392d48588bef /apps/files/templates
parentdd40b691eee34d313a5894afbc7ccf217968fd94 (diff)
downloadnextcloud-server-9d77317de82cb5ea3e3e8e2a3d13122134e0ca0c.tar.gz
nextcloud-server-9d77317de82cb5ea3e3e8e2a3d13122134e0ca0c.zip
add trash button to web interface
Diffstat (limited to 'apps/files/templates')
-rw-r--r--apps/files/templates/index.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/files/templates/index.php b/apps/files/templates/index.php
index 2e0772443f2..f6b4c29d5a2 100644
--- a/apps/files/templates/index.php
+++ b/apps/files/templates/index.php
@@ -35,6 +35,11 @@
<a href="#" class="svg" onclick="return false;"></a>
</form>
</div>
+ <?php if ($_['trash'] ): ?>
+ <div id="trash" class="button">
+ <a><?php echo $l->t('Trash');?></a>
+ </div>
+ <?php endif; ?>
<div id="uploadprogresswrapper">
<div id="uploadprogressbar"></div>
<input type="button" class="stop" style="display:none"
@@ -42,7 +47,6 @@
onclick="javascript:Files.cancelUploads();"
/>
</div>
-
</div>
<div id="file_action_panel"></div>
<?php else:?>