]> source.dussan.org Git - nextcloud-server.git/commit
Bring back file delete action text to be based on context
authorVincent Petry <pvince81@owncloud.com>
Fri, 11 Dec 2015 14:14:30 +0000 (15:14 +0100)
committerVincent Petry <pvince81@owncloud.com>
Fri, 11 Dec 2015 14:14:30 +0000 (15:14 +0100)
commitbaa5a69c55848aede39e14c936f837f77a221496
tree77933a5c6063dbe87e687cc81f97d931c6d9707f
parent4f860b7e0a5284eee90fdd93d6ec733a1559a1eb
Bring back file delete action text to be based on context

For received shares, the delete action becomes "Unshare" and for
personal mounts it becomes "Disconnect storage".

This also makes it possible from now on to pass a function to a file
action's "displayName" attribute.
apps/files/js/fileactions.js
apps/files/js/fileactionsmenu.js
apps/files/tests/js/fileactionsmenuSpec.js