Add "open in web" link to detailed public status pages
This commit is contained in:
parent
86b3cb5120
commit
c2fbd144cf
@ -302,6 +302,14 @@
|
|||||||
color: $color3;
|
color: $color3;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.open-in-web-link {
|
||||||
|
text-decoration: none;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.embed {
|
.embed {
|
||||||
|
@ -44,3 +44,7 @@
|
|||||||
%span<
|
%span<
|
||||||
= fa_icon('star')
|
= fa_icon('star')
|
||||||
%span= status.favourites.count
|
%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'
|
||||||
|
@ -98,6 +98,7 @@ en:
|
|||||||
two_factor_auth: Two-factor Authentication
|
two_factor_auth: Two-factor Authentication
|
||||||
statuses:
|
statuses:
|
||||||
over_character_limit: character limit of %{max} exceeded
|
over_character_limit: character limit of %{max} exceeded
|
||||||
|
open_in_web: Open in web
|
||||||
stream_entries:
|
stream_entries:
|
||||||
click_to_show: Click to show
|
click_to_show: Click to show
|
||||||
favourited: favourited a post by
|
favourited: favourited a post by
|
||||||
|
Loading…
Reference in New Issue
Block a user