diff --git a/apps/files_sharing/src/components/SharingEntry.vue b/apps/files_sharing/src/components/SharingEntry.vue
index 46b65c695eede..0ac23c687c877 100644
--- a/apps/files_sharing/src/components/SharingEntry.vue
+++ b/apps/files_sharing/src/components/SharingEntry.vue
@@ -29,120 +29,39 @@
:menu-position="'left'"
:url="share.shareWithAvatar" />
-
- {{ title }} ({{ share.shareWithDisplayNameUnique }})
-
- {{ share.status.icon || '' }}
- {{ share.status.message || '' }}
-
-
-
-
-
-
- {{ t('files_sharing', 'Allow editing') }}
-
-
-
-
- {{ t('files_sharing', 'Allow creating') }}
-
-
-
-
- {{ t('files_sharing', 'Allow deleting') }}
-
-
-
-
- {{ t('files_sharing', 'Allow resharing') }}
-
-
-
- {{ allowDownloadText }}
-
-
-
-
- {{ config.isDefaultInternalExpireDateEnforced
- ? t('files_sharing', 'Expiration date enforced')
- : t('files_sharing', 'Set expiration date') }}
-
-
- {{ t('files_sharing', 'Enter a date') }}
-
-
-
-
-
- {{ t('files_sharing', 'Note to recipient') }}
-
-
-
+
+
+ {{ title }} ({{
+ share.shareWithDisplayNameUnique }})
+
+ {{ share.status.icon || '' }}
+ {{ share.status.message || '' }}
+
+
+
+
+
+
+
-
-
- {{ t('files_sharing', 'Unshare') }}
-
-
+
@@ -463,23 +390,42 @@ export default {
diff --git a/apps/files_sharing/src/components/SharingEntryLink.vue b/apps/files_sharing/src/components/SharingEntryLink.vue
index 06c9cb708510f..b1e43296fc26f 100644
--- a/apps/files_sharing/src/components/SharingEntryLink.vue
+++ b/apps/files_sharing/src/components/SharingEntryLink.vue
@@ -32,6 +32,7 @@
+
+
+
+
+
+ View only (Default)
+
+
+
+
+
+ Edit
+
+
+
+
+
+ File Drop
+
+
+
+
+
+
+
+
+ Advanced Settings
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ t('file_sharing', 'Set password') }}
+
+
+
+
+ {{ t('file_sharing', 'Set expiration date') }}
+
+
+
+ {{ t('file_sharing', 'Hide download') }}
+
+
+
+
+
+
+ Old stuff to be transferred up
+
+
+
+
+
+ {{ t('files_sharing', 'Allow editing') }}
+
+
+
+
+ {{ t('files_sharing', 'Allow creating') }}
+
+
+
+
+ {{ t('files_sharing', 'Allow deleting') }}
+
+
+
+
+ {{ t('files_sharing', 'Allow resharing') }}
+
+
+
+ {{ allowDownloadText }}
+
+
+
+
+ {{ config.isDefaultInternalExpireDateEnforced
+ ? t('files_sharing', 'Expiration date enforced')
+ : t('files_sharing', 'Set expiration date') }}
+
+
+ {{ t('files_sharing', 'Enter a date') }}
+
+
+
+
+
+ {{ t('files_sharing', 'Note to recipient') }}
+
+
+
+
+
+
+ {{ t('files_sharing', 'Unshare') }}
+
+
+
+
+
+
+
+
+
+
+
diff --git a/apps/files_sharing/src/views/SharingList.vue b/apps/files_sharing/src/views/SharingList.vue
index 05dc87d9b0760..f832d7ed3e081 100644
--- a/apps/files_sharing/src/views/SharingList.vue
+++ b/apps/files_sharing/src/views/SharingList.vue
@@ -27,7 +27,8 @@
:file-info="fileInfo"
:share="share"
:is-unique="isUnique(share)"
- @remove:share="removeShare" />
+ @remove:share="removeShare"
+ @open-sharing-details="onOpenSharingDetails(share)" />
@@ -83,6 +84,13 @@ export default {
// eslint-disable-next-line vue/no-mutating-props
this.shares.splice(index, 1)
},
+ onOpenSharingDetails(share) {
+ const openShareDetailsEventData = {
+ fileInfo: this.fileInfo,
+ share: share
+ };
+ this.$emit('open-sharing-details', openShareDetailsEventData);
+ },
},
}
diff --git a/apps/files_sharing/src/views/SharingTab.vue b/apps/files_sharing/src/views/SharingTab.vue
index bfaf8a766eed4..abf23c65ae3f7 100644
--- a/apps/files_sharing/src/views/SharingTab.vue
+++ b/apps/files_sharing/src/views/SharingTab.vue
@@ -29,7 +29,7 @@
-
+
@@ -59,7 +59,8 @@
+ :file-info="fileInfo"
+ @open-sharing-details="toggleShareDetailsView" />
@@ -74,6 +75,11 @@
:name="fileInfo.name" />
+
+
+
+
+