Merge pull request #3245 from owncloud/use-$view

Use the internal ownCloud view