diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-04-29 09:19:05 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-04-29 09:19:05 +0900 |
| commit | 2f2a94590599185c09ddbfa71efd99213e7eaa91 (patch) | |
| tree | a3e186954998c123e1d9fb9eb682481d94e46b9b /src/client/app/desktop/views/components/notes.note.vue | |
| parent | wip (diff) | |
| download | misskey-2f2a94590599185c09ddbfa71efd99213e7eaa91.tar.gz misskey-2f2a94590599185c09ddbfa71efd99213e7eaa91.tar.bz2 misskey-2f2a94590599185c09ddbfa71efd99213e7eaa91.zip | |
wip
Diffstat (limited to 'src/client/app/desktop/views/components/notes.note.vue')
| -rw-r--r-- | src/client/app/desktop/views/components/notes.note.vue | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/src/client/app/desktop/views/components/notes.note.vue b/src/client/app/desktop/views/components/notes.note.vue index 4d7e6ee8b8..ee24543ebf 100644 --- a/src/client/app/desktop/views/components/notes.note.vue +++ b/src/client/app/desktop/views/components/notes.note.vue @@ -28,6 +28,12 @@ <router-link class="created-at" :to="p | notePage"> <mk-time :time="p.createdAt"/> </router-link> + <span class="visibility" v-if="p.visibility != 'public'"> + <template v-if="p.visibility == 'home'">%fa:home%</template> + <template v-if="p.visibility == 'followers'">%fa:unlock%</template> + <template v-if="p.visibility == 'specified'">%fa:envelope%</template> + <template v-if="p.visibility == 'private'">%fa:lock%</template> + </span> </div> </header> <div class="body"> @@ -442,18 +448,19 @@ root(isDark) margin-left auto font-size 0.9em + > * + color isDark ? #606984 : #c0c0c0 + > .mobile margin-right 8px - color isDark ? #606984 : #ccc > .app margin-right 8px padding-right 8px - color #ccc border-right solid 1px #eaeaea - > .created-at - color isDark ? #606984 : #c0c0c0 + > .visibility + margin-left 8px > .body |