aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRoger Braun <roger@rogerbraun.net>2016-11-24 18:19:01 +0100
committerRoger Braun <roger@rogerbraun.net>2016-11-24 18:19:01 +0100
commit2341a3692a31f40c484a3b027f757c84551bf1fe (patch)
treeba64bbf0448ebe37a39ec4f9c28129e6e7d5624b /src
parente245074ef70e0a98c79168cb7e04390dc8d5e97c (diff)
Add link to conversation in status.
Diffstat (limited to 'src')
-rw-r--r--src/components/status/status.vue6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/components/status/status.vue b/src/components/status/status.vue
index d4bcc279..a84917e6 100644
--- a/src/components/status/status.vue
+++ b/src/components/status/status.vue
@@ -20,7 +20,11 @@
<small><a :href="status.user.statusnet_profile_url">{{status.user.screen_name}}</a></small>
<small v-if="status.in_reply_to_screen_name"> &gt; <a :href="status.in_reply_to_profileurl">{{status.in_reply_to_screen_name}}</a></small>
-
- <small>{{status.created_at_parsed}}</small>
+ <small>
+ <router-link :to="{ name: 'conversation', params: { id: status.id } }">
+ {{status.created_at_parsed}}
+ </router-link>
+ </small>
</h4>
<div class="status-content" v-html="status.statusnet_html"></div>