Display file owner information (if not self) in share view

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
Claudio Cambra 2024-10-20 17:36:52 +08:00
parent cf0dd27b5f
commit fce130440e
No known key found for this signature in database
GPG key ID: C839200C384636B0

View file

@ -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