summaryrefslogtreecommitdiff
path: root/src/client/app/desktop
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2019-04-24 15:21:39 +0900
committersyuilo <syuilotan@yahoo.co.jp>2019-04-24 15:21:39 +0900
commit64d00b08a345803bb3095d57022614bb397a0b68 (patch)
tree7b504b85727619516fe2548ed8df153ae88bbb2e /src/client/app/desktop
parentCreate find-by-hash.ts (diff)
downloadmisskey-64d00b08a345803bb3095d57022614bb397a0b68.tar.gz
misskey-64d00b08a345803bb3095d57022614bb397a0b68.tar.bz2
misskey-64d00b08a345803bb3095d57022614bb397a0b68.zip
Improve announcement
* お知らせにMFMを使えるように * お知らせに画像を添付できるように
Diffstat (limited to 'src/client/app/desktop')
-rw-r--r--src/client/app/desktop/views/pages/welcome.vue3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/app/desktop/views/pages/welcome.vue b/src/client/app/desktop/views/pages/welcome.vue
index 5a5cd9c8e6..d7af82cd8d 100644
--- a/src/client/app/desktop/views/pages/welcome.vue
+++ b/src/client/app/desktop/views/pages/welcome.vue
@@ -44,7 +44,8 @@
<div v-if="announcements && announcements.length > 0">
<div v-for="announcement in announcements">
<h1 v-html="announcement.title"></h1>
- <div v-html="announcement.text"></div>
+ <mfm :text="announcement.text"/>
+ <img v-if="announcement.image" :src="announcement.image" alt="" style="display: block; max-height: 130px; max-width: 100%;"/>
</div>
</div>
</div>