diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2019-04-24 15:21:39 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2019-04-24 15:21:39 +0900 |
| commit | 64d00b08a345803bb3095d57022614bb397a0b68 (patch) | |
| tree | 7b504b85727619516fe2548ed8df153ae88bbb2e /src/client/app/desktop | |
| parent | Create find-by-hash.ts (diff) | |
| download | misskey-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.vue | 3 |
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> |