Wiswedel/inherited shares/design polishing (#18447)

Wiswedel/inherited shares/design polishing
This commit is contained in:
John Molakvoæ 2019-12-19 08:45:16 +01:00 committed by GitHub
commit 8cd86f110b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 6 deletions

Binary file not shown.

View file

@ -33,17 +33,17 @@
tooltip-message="" />
</template>
<ActionText icon="icon-user">
{{ t('files_sharing', 'Invited by {initiator}', { initiator: share.ownerDisplayName }) }}
{{ t('files_sharing', 'Added by {initiator}', { initiator: share.ownerDisplayName }) }}
</ActionText>
<ActionLink v-if="share.fileSource"
icon="icon-folder"
:href="fileTargetUrl">
{{ t('files_sharing', 'Open folder') }}
{{ t('files_sharing', 'Via folder') }}
</ActionLink>
<ActionButton v-if="share.canDelete"
icon="icon-delete"
@click.prevent="onDelete">
{{ t('files_sharing', 'Delete share') }}
{{ t('files_sharing', 'Unshare') }}
</actionbutton>
</SharingEntrySimple>
</template>

View file

@ -86,9 +86,7 @@ export default {
return 'icon-triangle-s'
},
mainTitle() {
return t('files_sharing', 'Others with access {count}', {
count: this.loaded ? `: ${this.shares.length}` : ''
})
return t('files_sharing', 'Others with access')
},
toggleTooltip() {
return this.fileInfo.type === 'dir'