about summary refs log tree commit diff
path: root/app/views/stream_entries
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2017-01-15 13:23:47 +0100
committerEugen Rochko <eugen@zeonfederated.com>2017-01-15 13:23:47 +0100
commitab165547fdf556b10b80898c030d54e20bff50af (patch)
treec9478742222e0f73fe4049edbc6840d3020eb235 /app/views/stream_entries
parent1f7c0ad8d3d336b036d16272716e41812f65f5d9 (diff)
parentf81dc7a33ae975b640089e474b01c2081119f372 (diff)
Merge branch 'feature/toot-app-source' of https://github.com/ineffyble/mastodon into ineffyble-feature/toot-app-source
Diffstat (limited to 'app/views/stream_entries')
-rw-r--r--app/views/stream_entries/_detailed_status.html.haml4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/stream_entries/_detailed_status.html.haml b/app/views/stream_entries/_detailed_status.html.haml
index 32f7c2e40..946adbd8e 100644
--- a/app/views/stream_entries/_detailed_status.html.haml
+++ b/app/views/stream_entries/_detailed_status.html.haml
@@ -28,6 +28,10 @@
     = link_to TagManager.instance.url_for(status), class: 'detailed-status__datetime u-url u-uid', target: @external_links ? '_blank' : nil, rel: 'noopener' do
       %span= l(status.created_at)
     ·
+    - if status.application
+      = link_to status.application.website, class: 'detailed-status__application', target: @external_links ? '_blank' : nil, rel: 'noopener' do
+        %span= status.application.name
+      ·
     %span
       = fa_icon('retweet')
       %span= status.reblogs.count