From b515586485fab7030e02cad3cf1ce2c6e451c7d9 Mon Sep 17 00:00:00 2001
From: Roger Braun <roger@rogerbraun.net>
Date: Fri, 25 Nov 2016 17:34:41 +0100
Subject: Show link to status source url.

---
 src/components/status/status.vue | 7 +++++++
 1 file changed, 7 insertions(+)

(limited to 'src/components/status/status.vue')

diff --git a/src/components/status/status.vue b/src/components/status/status.vue
index b00f97ca..14792cae 100644
--- a/src/components/status/status.vue
+++ b/src/components/status/status.vue
@@ -25,6 +25,9 @@
               {{status.created_at_parsed}}
             </router-link>
           </small>
+          <small v-if="!status.is_local" class="source_url">
+            <a :href="status.external_url" >Source</a>
+          </small>
         </h4>
 
         <div class="status-content" v-html="status.statusnet_html"></div>
@@ -62,6 +65,10 @@
      word-wrap: break-word;
      word-break: break-word;
 
+     .source_url {
+       float: right;
+     }
+
      a {
          display: inline-block;
          word-break: break-all;
-- 
cgit v1.2.3-70-g09d2

