summaryrefslogtreecommitdiff
path: root/src/client/app/desktop/views/components
diff options
context:
space:
mode:
authorMeiMei <30769358+mei23@users.noreply.github.com>2019-01-05 19:59:10 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2019-01-05 19:59:10 +0900
commitd0aff4409d80816ebf0a82be6f505ec7dccb9cc5 (patch)
tree97d26ea610d93e7b6fac33219d67ed6c0d5e2eb0 /src/client/app/desktop/views/components
parentFix typo: not -> note (diff)
downloadmisskey-d0aff4409d80816ebf0a82be6f505ec7dccb9cc5.tar.gz
misskey-d0aff4409d80816ebf0a82be6f505ec7dccb9cc5.tar.bz2
misskey-d0aff4409d80816ebf0a82be6f505ec7dccb9cc5.zip
Locked mark (#3836)
Diffstat (limited to 'src/client/app/desktop/views/components')
-rw-r--r--src/client/app/desktop/views/components/user-card.vue6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/client/app/desktop/views/components/user-card.vue b/src/client/app/desktop/views/components/user-card.vue
index c59467fd09..6a42b5da00 100644
--- a/src/client/app/desktop/views/components/user-card.vue
+++ b/src/client/app/desktop/views/components/user-card.vue
@@ -7,7 +7,8 @@
<router-link :to="user | userPage" class="name">
<mk-user-name :user="user"/>
</router-link>
- <span class="username">@{{ user | acct }}</span>
+ <span class="username">@{{ user | acct }} <fa v-if="user.isLocked == true" class="locked" icon="lock" fixed-width/></span>
+
<div class="description">
<misskey-flavored-markdown v-if="user.description" :text="user.description" :author="user" :i="$store.state.i" :custom-emojis="user.emojis"/>
</div>
@@ -75,6 +76,9 @@ export default Vue.extend({
display block
opacity 0.7
+ > .locked
+ opacity 0.8
+
> .description
margin 8px 0 16px 0