about summary refs log tree commit diff
path: root/app/views
diff options
context:
space:
mode:
authorYamagishi Kazutoshi <ykzts@desire.sh>2019-10-27 20:45:33 +0900
committerEugen Rochko <eugen@zeonfederated.com>2019-10-27 12:45:33 +0100
commit7512f3a3e0a5cabb233e990d67e6138dfcdcd4fa (patch)
treedd45d2cc9461d8ef9cd035ffc0bd37a51d3cd7e9 /app/views
parent4988ebba4e31aff5dee657836cf059b5843d9eb8 (diff)
Change message of public timeline for local only (#12224)
Diffstat (limited to 'app/views')
-rw-r--r--app/views/public_timelines/show.html.haml6
1 files changed, 5 insertions, 1 deletions
diff --git a/app/views/public_timelines/show.html.haml b/app/views/public_timelines/show.html.haml
index 07215efdf..0e4ba877d 100644
--- a/app/views/public_timelines/show.html.haml
+++ b/app/views/public_timelines/show.html.haml
@@ -7,7 +7,11 @@
 
 .page-header
   %h1= t('about.see_whats_happening')
-  %p= t('about.browse_public_posts')
+
+  - if Setting.show_known_fediverse_at_about_page
+    %p= t('about.browse_public_posts')
+  - else
+    %p= t('about.browse_local_posts')
 
 #mastodon-timeline{ data: { props: Oj.dump(default_props) }}
 #modal-container