diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2020-02-03 11:58:28 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-03 11:58:28 +0100 |
commit | a990f768a22ce13400e076852a4287bbe0001835 (patch) | |
tree | e885a69ca91a591f1958a78578e237362230c2b1 /src | |
parent | 0ff05f50d458b5875707bea33ccf2b8976254edb (diff) | |
parent | 89cc5e1e8c805d7bc327fd1b5470999ee858b56a (diff) |
Merge branch 'master' into enh/import-from-files
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 76433d41..b5b2adaf 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" |