diff options
| author | Henry Jameson <me@hjkos.com> | 2021-08-15 21:04:28 +0300 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2021-08-15 21:04:28 +0300 |
| commit | 830a03a0d13738ed1677d364fdf03821fbc507ab (patch) | |
| tree | 71fb6212eb625392420dd53d52459a45bd672422 /src/components/attachment/attachment.vue | |
| parent | 34d265467a77d4e680e3c56c254df7dfb904fc18 (diff) | |
inline description display
Diffstat (limited to 'src/components/attachment/attachment.vue')
| -rw-r--r-- | src/components/attachment/attachment.vue | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/components/attachment/attachment.vue b/src/components/attachment/attachment.vue index 8a1c31c7..82a72a8d 100644 --- a/src/components/attachment/attachment.vue +++ b/src/components/attachment/attachment.vue @@ -87,6 +87,14 @@ <FAIcon icon="stop" /> </button> <button + v-if="attachment.description && size !== 'small' && !edit" + class="button-unstyled attachment-button" + @click.prevent="toggleDescription" + :title="$t('status.show_attachment_description')" + > + <FAIcon icon="align-right" /> + </button> + <button v-if="!useModal" class="button-unstyled attachment-button" @click.prevent="openModalForce" |
