diff options
| author | taehoon <th.dev91@gmail.com> | 2019-09-17 15:59:17 -0400 |
|---|---|---|
| committer | taehoon <th.dev91@gmail.com> | 2019-09-20 11:29:21 -0400 |
| commit | 5ff899b455e07e41eb1b89985177655279f8263f (patch) | |
| tree | 692ec5e7b0fcf71b5ada8987047e51ed59069910 /src/components | |
| parent | dcef84363ff0656940d095d2c010ca13252000e8 (diff) | |
add mention button
Diffstat (limited to 'src/components')
| -rw-r--r-- | src/components/user_card/user_card.js | 3 | ||||
| -rw-r--r-- | src/components/user_card/user_card.vue | 9 |
2 files changed, 12 insertions, 0 deletions
diff --git a/src/components/user_card/user_card.js b/src/components/user_card/user_card.js index e3bd7697..d42be9fc 100644 --- a/src/components/user_card/user_card.js +++ b/src/components/user_card/user_card.js @@ -168,6 +168,9 @@ export default { } this.$store.dispatch('setMedia', [attachment]) this.$store.dispatch('setCurrent', attachment) + }, + mentionUser () { + } } } diff --git a/src/components/user_card/user_card.vue b/src/components/user_card/user_card.vue index 0b83cf16..f25d16d3 100644 --- a/src/components/user_card/user_card.vue +++ b/src/components/user_card/user_card.vue @@ -190,6 +190,15 @@ <div> <button + class="btn btn-default btn-block" + @click="mentionUser" + > + {{ $t('user_card.mention') }} + </button> + </div> + + <div> + <button v-if="user.muted" class="btn btn-default btn-block pressed" @click="unmuteUser" |
