Skip to content

Commit

Permalink
Clarify "Delete share" action in sharing sidebar (#18563)
Browse files Browse the repository at this point in the history
Clarify "Delete share" action in sharing sidebar
  • Loading branch information
skjnldsv authored Dec 28, 2019
2 parents c7b67ee + ab50fee commit 88a24d7
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions apps/files_sharing/js/dist/files_sharing_tab.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion apps/files_sharing/js/dist/files_sharing_tab.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion apps/files_sharing/src/components/SharingEntry.vue
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@
</template>

<ActionButton v-if="share.canDelete"
icon="icon-delete"
icon="icon-close"
:disabled="saving"
@click.prevent="onDelete">
{{ t('files_sharing', 'Unshare') }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
{{ t('files_sharing', 'Via folder') }}
</ActionLink>
<ActionButton v-if="share.canDelete"
icon="icon-delete"
icon="icon-close"
@click.prevent="onDelete">
{{ t('files_sharing', 'Unshare') }}
</actionbutton>
Expand Down
4 changes: 2 additions & 2 deletions apps/files_sharing/src/components/SharingEntryLink.vue
Original file line number Diff line number Diff line change
Expand Up @@ -257,10 +257,10 @@
</ActionLink>

<ActionButton v-if="share.canDelete"
icon="icon-delete"
icon="icon-close"
:disabled="saving"
@click.prevent="onDelete">
{{ t('files_sharing', 'Delete share') }}
{{ t('files_sharing', 'Unshare') }}
</ActionButton>
<ActionButton v-if="!isEmailShareType && canReshare"
class="new-share-link"
Expand Down

0 comments on commit 88a24d7

Please sign in to comment.