From c2fbd144cf5aa5cafd486190c0fb31ffd73ccac1 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Mon, 30 Jan 2017 23:01:37 +0100 Subject: Add "open in web" link to detailed public status pages --- app/views/stream_entries/_detailed_status.html.haml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'app/views/stream_entries/_detailed_status.html.haml') diff --git a/app/views/stream_entries/_detailed_status.html.haml b/app/views/stream_entries/_detailed_status.html.haml index 6ee8c9e5b..235dc6086 100644 --- a/app/views/stream_entries/_detailed_status.html.haml +++ b/app/views/stream_entries/_detailed_status.html.haml @@ -44,3 +44,7 @@ %span< = fa_icon('star') %span= status.favourites.count + + - if user_signed_in? + ยท + = link_to t('statuses.open_in_web'), web_url("statuses/#{status.id}"), class: 'open-in-web-link' -- cgit