diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2020-01-28 07:53:29 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-28 07:53:29 +0100 |
commit | 0559d6e8e6f4be96c45347d2c4c10fb68bc2a28c (patch) | |
tree | 96636b40601b6271b30bc5fd4d50db466ba2b085 /src | |
parent | bbadc48cc4871372b1e8a32e1e4cae1c03b6f47d (diff) | |
parent | 37da95c37388d6b489bb9a9225daec0b6025062a (diff) |
Merge pull request #1448 from nextcloud/design/viewer-actions
Fix sorting and wording of contact picture actions
Diffstat (limited to 'src')
-rw-r--r-- | src/components/ContactDetails/ContactDetailsAvatar.vue | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/components/ContactDetails/ContactDetailsAvatar.vue b/src/components/ContactDetails/ContactDetailsAvatar.vue index 703a3d4f..0748b0f3 100644 --- a/src/components/ContactDetails/ContactDetailsAvatar.vue +++ b/src/components/ContactDetails/ContactDetailsAvatar.vue @@ -52,17 +52,17 @@ @close="toggleModal"> <template #actions> <ActionButton v-if="!isReadOnly" icon="icon-upload" @click="selectFileInput"> - {{ t('contacts', 'Upload a new picture') }} + {{ t('contacts', 'Upload new picture') }} </ActionButton> - <ActionButton v-if="!isReadOnly" icon="icon-picture" @click="selectFilePicker"> + <ActionButton v-if="!isReadOnly" icon="icon-folder" @click="selectFilePicker"> {{ t('contacts', 'Choose from files') }} </ActionButton> - <ActionButton v-if="!isReadOnly" icon="icon-delete" @click="removePhoto"> - {{ t('contacts', 'Delete picture') }} - </ActionButton> <ActionLink :href="`${contact.url}?photo`" icon="icon-download" target="_blank"> {{ t('contacts', 'Download picture') }} </ActionLink> + <ActionButton v-if="!isReadOnly" icon="icon-delete" @click="removePhoto"> + {{ t('contacts', 'Delete picture') }} + </ActionButton> </template> <img ref="img" :src="contact.photoUrl" |