aboutsummaryrefslogtreecommitdiff
path: root/src/components/status_body/status_body.vue
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/status_body/status_body.vue')
-rw-r--r--src/components/status_body/status_body.vue25
1 files changed, 17 insertions, 8 deletions
diff --git a/src/components/status_body/status_body.vue b/src/components/status_body/status_body.vue
index 6f982f2e..92e47118 100644
--- a/src/components/status_body/status_body.vue
+++ b/src/components/status_body/status_body.vue
@@ -39,15 +39,24 @@
>
{{ $t("general.show_more") }}
</button>
- <RichContent
+ <span
v-if="!hideSubjectStatus && !(singleLine && status.summary_html)"
- :class="{ '-single-line': singleLine }"
- class="text media-body"
- :html="postBodyHtml"
- :emoji="status.emojis"
- :handle-links="true"
- @click.prevent="linkClicked"
- />
+ >
+ <MentionsLine
+ v-if="mentionsOldPlace"
+ :attentions="status.attentions"
+ class="mentions-line"
+ />
+ <RichContent
+ :class="{ '-single-line': singleLine }"
+ class="text media-body"
+ :html="postBodyHtml"
+ :emoji="status.emojis"
+ :handle-links="true"
+ @click.prevent="linkClicked"
+ />
+ </span>
+
<button
v-if="hideSubjectStatus"
class="button-unstyled -link cw-status-hider"