diff options
| author | shpuld <shp@cock.li> | 2018-12-18 22:09:27 +0200 |
|---|---|---|
| committer | shpuld <shp@cock.li> | 2018-12-18 22:09:27 +0200 |
| commit | 640a28789222035f8d500b8dd4bfc4c9f0cdd1af (patch) | |
| tree | de6e7a72f0a90b8196b1bf99ac0fe4cd5bfe39a2 /src/components/status/status.vue | |
| parent | bd2ed617a740ef3b37dedf3bed608e433dc0ec09 (diff) | |
| parent | 2f28bf95fdce6a215961fe264c236c111e4a1e66 (diff) | |
Merge branch 'develop' into feature/replace-panel-switcher
Diffstat (limited to 'src/components/status/status.vue')
| -rw-r--r-- | src/components/status/status.vue | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/src/components/status/status.vue b/src/components/status/status.vue index 067980ac..3283de45 100644 --- a/src/components/status/status.vue +++ b/src/components/status/status.vue @@ -2,7 +2,11 @@ <div class="status-el" v-if="!hideReply && !deleted" :class="[{ 'status-el_focused': isFocused }, { 'status-conversation': inlineExpanded }]"> <template v-if="muted && !noReplyLinks"> <div class="media status container muted"> - <small><router-link @click.native="activatePanel('timeline')" :to="{ name: 'user-profile', params: { id: status.user.id } }">{{status.user.screen_name}}</router-link></small> + <small> + <router-link @click.native="activatePanel('timeline')" :to="userProfileLink(status.user.id, status.user.screen_name)"> + {{status.user.screen_name}} + </router-link> + </small> <small class="muteWords">{{muteWordHits.join(', ')}}</small> <a href="#" class="unmute" @click.prevent="toggleMute"><i class="icon-eye-off"></i></a> </div> @@ -34,10 +38,12 @@ <h4 class="user-name" v-if="status.user.name_html" v-html="status.user.name_html"></h4> <h4 class="user-name" v-else>{{status.user.name}}</h4> <span class="links"> - <router-link @click.native="activatePanel('timeline')" :to="{ name: 'user-profile', params: { id: status.user.id } }">{{status.user.screen_name}}</router-link> + <router-link @click.native="activatePanel('timeline')" :to="userProfileLink(status.user.id, status.user.screen_name)"> + {{status.user.screen_name}} + </router-link> <span v-if="status.in_reply_to_screen_name" class="faint reply-info"> <i class="icon-right-open"></i> - <router-link @click.native="activatePanel('timeline')" :to="{ name: 'user-profile', params: { id: status.in_reply_to_user_id } }"> + <router-link @click.native="activatePanel('timeline')" :to="userProfileLink(status.in_reply_to_user_id, status.in_reply_to_screen_name)"> {{status.in_reply_to_screen_name}} </router-link> </span> @@ -474,7 +480,7 @@ } } -.avatar { +.avatar.still-image { width: 48px; height: 48px; box-shadow: var(--avatarStatusShadow); |
