diff options
author | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2020-01-19 20:39:38 +0100 |
---|---|---|
committer | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2020-01-23 09:27:15 +0700 |
commit | 37da95c37388d6b489bb9a9225daec0b6025062a (patch) | |
tree | 4eabae76b2583891c9e2230e3631289595c2ef88 /src | |
parent | 32a7d9d775342a45c4c833aad1561a762b26e701 (diff) |
Fix sorting and wording of contact picture actions
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
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" |