From: Claudio Cambra Date: Sun, 20 Oct 2024 09:36:52 +0000 (+0800) Subject: Display file owner information (if not self) in share view X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~5^2~14^2~13 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=cfc4c26f74814848e5bb1802809a50c4db01cc69;p=nextcloud-desktop.git Display file owner information (if not self) in share view Signed-off-by: Claudio Cambra --- diff --git a/src/gui/filedetails/ShareView.qml b/src/gui/filedetails/ShareView.qml index e7e6046b7..33bc0040e 100644 --- a/src/gui/filedetails/ShareView.qml +++ b/src/gui/filedetails/ShareView.qml @@ -139,6 +139,19 @@ ColumnLayout { } } + Column { + Layout.fillWidth: true + Layout.leftMargin: root.horizontalPadding + Layout.rightMargin: root.horizontalPadding + + EnforcedPlainTextLabel { + visible: shareModel.displayFileOwner + text: qsTr("Shared with you by %1").arg(shareModel.fileOwnerDisplayName) + } + + visible: shareModel.displayFileOwner + } + ShareeSearchField { id: shareeSearchField Layout.fillWidth: true