Add "open in web" link to detailed public status pages

This commit is contained in:
Eugen Rochko committed 2017-01-30 23:01:37 +01:00
1 parent 86b3cb5120
commit c2fbd144cf
3 files changed
+13

No files matched your search

@@ -302,6 +302,14 @@
color: $color3;
}
}
.open-in-web-link {
text-decoration: none;
&:hover {
text-decoration: underline;
}
}
}
.embed {
@@ -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'