aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/js/sharetabview.js
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_sharing/js/sharetabview.js')
-rw-r--r--apps/files_sharing/js/sharetabview.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/files_sharing/js/sharetabview.js b/apps/files_sharing/js/sharetabview.js
index 48dfcae16d8..42bddc20b3c 100644
--- a/apps/files_sharing/js/sharetabview.js
+++ b/apps/files_sharing/js/sharetabview.js
@@ -10,7 +10,7 @@
(function() {
var TEMPLATE =
- '<div>TODO: here comes the share dialog</div>';
+ '<div>Owner: {{owner}}';
/**
* @class OCA.Sharing.ShareTabView
@@ -52,7 +52,9 @@
}
if (this._fileInfo) {
- this.$el.append(this._template());
+ this.$el.append(this._template({
+ owner: this._fileInfo.shareOwner || OC.currentUser
+ }));
} else {
// TODO: render placeholder text?
}