Denna sida fungerar bättre med Javascript igång.
Startsida
Utforska
Hjälp
Logga in
abunchtell
/
mastodon
Bevaka
1
Stjärnmärk
0
Förgrening
0
Kod
Ärenden
0
Aktiviteter
Bläddra i källkod
Add "open in web" link to detailed public status pages
master
Eugen Rochko
7 år sedan
förälder
86b3cb5120
incheckning
c2fbd144cf
3 ändrade filer
med
13 tillägg
och
0 borttagningar
Delad Vy
Diff Options
Show Stats
Download Patch File
Download Diff File
+8
-0
app/assets/stylesheets/stream_entries.scss
+4
-0
app/views/stream_entries/_detailed_status.html.haml
+1
-0
config/locales/en.yml
+ 8
- 0
app/assets/stylesheets/stream_entries.scss
Visa fil
@@ -302,6 +302,14 @@
color: $color3;
}
}
.open-in-web-link {
text-decoration: none;
&:hover {
text-decoration: underline;
}
}
}
.embed {
+ 4
- 0
app/views/stream_entries/_detailed_status.html.haml
Visa fil
@@ -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'
+ 1
- 0
config/locales/en.yml
Visa fil
@@ -98,6 +98,7 @@ en:
two_factor_auth: Two-factor Authentication
statuses:
over_character_limit: character limit of %{max} exceeded
open_in_web: Open in web
stream_entries:
click_to_show: Click to show
favourited: favourited a post by
Skriv
Förhandsgranska
Laddar…
Avbryt
Spara