From 36e19128bf958559437144b26a3e71f30c9b3377 Mon Sep 17 00:00:00 2001 From: xenofem <xenofem@xeno.science> Date: Sat, 8 Feb 2020 13:15:09 -0500 Subject: [PATCH] Indicate whether collapsed statuses contain gallery media or link preview cards --- src/components/status/status.vue | 12 +++++++++++- static/fontello.json | 8 +++++++- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/src/components/status/status.vue b/src/components/status/status.vue index d5739304..b9e3fa1d 100644 --- a/src/components/status/status.vue +++ b/src/components/status/status.vue @@ -277,7 +277,17 @@ href="#" class="cw-status-hider" @click.prevent="toggleShowMore" - >{{ $t("general.show_more") }}</a> + > + {{ $t("general.show_more") }} + <span + v-if="galleryAttachments.length > 0" + class="icon-picture" + /> + <span + v-if="status.card" + class="icon-link" + /> + </a> <a v-if="showingMore" href="#" diff --git a/static/fontello.json b/static/fontello.json index 829241b5..5a7086a2 100755 --- a/static/fontello.json +++ b/static/fontello.json @@ -339,6 +339,12 @@ "css": "arrow-curved", "code": 59426, "src": "iconic" + }, + { + "uid": "0ddd3e8201ccc7d41f7b7c9d27eca6c1", + "css": "link", + "code": 59427, + "src": "fontawesome" } ] -} \ No newline at end of file +}