Indicate whether collapsed statuses contain gallery media or link preview cards

This commit is contained in:
xenofem 2020-02-08 13:15:09 -05:00
parent 8fcb9c42aa
commit 36e19128bf
2 changed files with 18 additions and 2 deletions

View File

@ -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="#"

View File

@ -339,6 +339,12 @@
"css": "arrow-curved",
"code": 59426,
"src": "iconic"
},
{
"uid": "0ddd3e8201ccc7d41f7b7c9d27eca6c1",
"css": "link",
"code": 59427,
"src": "fontawesome"
}
]
}