summaryrefslogtreecommitdiffstats
path: root/app/views/about
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2022-10-04 20:13:46 +0200
committerGitHub <noreply@github.com>2022-10-04 20:13:46 +0200
commit02ba9cfa35c7b2285950955619ae3431391e9625 (patch)
tree0e1ccc086ba1efde94851f998418d21ac4e278a6 /app/views/about
parente2b561e3a521ff893943c0e9e32952e35934ca54 (diff)
Remove code for rendering public and hashtag timelines outside the web UI (#19257)
Diffstat (limited to 'app/views/about')
-rw-r--r--app/views/about/show.html.haml25
1 files changed, 6 insertions, 19 deletions
diff --git a/app/views/about/show.html.haml b/app/views/about/show.html.haml
index fb292941b1b..d61b3cd5113 100644
--- a/app/views/about/show.html.haml
+++ b/app/views/about/show.html.haml
@@ -17,25 +17,12 @@
= render 'registration'
.directory
- - if Setting.profile_directory
- .directory__tag
- = optional_link_to Setting.profile_directory, explore_path do
- %h4
- = fa_icon 'address-book fw'
- = t('about.discover_users')
- %small= t('about.browse_directory')
-
- .avatar-stack
- - @instance_presenter.sample_accounts.each do |account|
- = image_tag current_account&.user&.setting_auto_play_gif ? account.avatar_original_url : account.avatar_static_url, alt: '', class: 'account__avatar'
-
- - if Setting.timeline_preview
- .directory__tag
- = optional_link_to Setting.timeline_preview, public_timeline_path do
- %h4
- = fa_icon 'globe fw'
- = t('about.see_whats_happening')
- %small= t('about.browse_public_posts')
+ .directory__tag
+ = link_to web_path do
+ %h4
+ = fa_icon 'globe fw'
+ = t('about.see_whats_happening')
+ %small= t('about.browse_public_posts')
.directory__tag
= link_to 'https://joinmastodon.org/apps', target: '_blank', rel: 'noopener noreferrer' do