]> source.dussan.org Git - nextcloud-server.git/commit
Added mountType attribute and adapted Delete action text
authorVincent Petry <pvince81@owncloud.com>
Thu, 10 Jul 2014 15:25:46 +0000 (17:25 +0200)
committerVincent Petry <pvince81@owncloud.com>
Mon, 14 Jul 2014 08:36:04 +0000 (10:36 +0200)
commitdd7529da9853dff43b8e81685f3a1c7151bc9e24
tree96b10553284bb0424dac027b8af18bc117bc3513
parente58dce2ee0768248f3ef4ee9070af5432a97f541
Added mountType attribute and adapted Delete action text

Added mountType attribute for files/folder to indicated whether they are
regular, external or shared.

The client side then adapts the "Delete" action hint text based on this
information.

Only the mount roots must have the delete icon hint adapted.
To make this detectable on the client side, the mountType can now
be null, "shared", "shared-root", "external" or "external-root".

This also gives room to icon customization on the client side.
apps/files/js/fileactions.js
apps/files/js/filelist.js
apps/files/lib/helper.php
apps/files_external/js/mountsfilelist.js
apps/files_sharing/js/sharedfilelist.js