diff options
Diffstat (limited to 'app/views/users/show.html.haml')
-rw-r--r-- | app/views/users/show.html.haml | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/app/views/users/show.html.haml b/app/views/users/show.html.haml index e23555428aa..99097ac397c 100644 --- a/app/views/users/show.html.haml +++ b/app/views/users/show.html.haml @@ -6,10 +6,8 @@ - page_itemtype 'http://schema.org/Person' - add_page_specific_style 'page_bundles/profile' - add_page_specific_style 'page_bundles/projects' -- if show_super_sidebar? - - @left_sidebar = true - - @force_desktop_expanded_sidebar = true - - nav "user_profile" +- @force_desktop_expanded_sidebar = true +- nav "user_profile" = content_for :meta_tags do = auto_discovery_link_tag(:atom, user_url(@user, format: :atom), title: "#{@user.name} activity") @@ -89,13 +87,13 @@ = sprite_icon('linkedin', css_class: 'linkedin-icon') - if @user.twitter.present? = render 'middle_dot_divider', breakpoint: 'sm' do - = link_to twitter_url(@user), class: 'gl-hover-text-decoration-none', title: "Twitter", target: '_blank', rel: 'noopener noreferrer nofollow' do - = sprite_icon('twitter', css_class: 'twitter-icon') + = link_to twitter_url(@user), class: 'gl-hover-text-decoration-none', title: _("X (formerly Twitter)"), target: '_blank', rel: 'noopener noreferrer nofollow' do + = sprite_icon('x', css_class: 'x-icon') - if @user.discord.present? = render 'middle_dot_divider', breakpoint: 'sm' do = link_to discord_url(@user), class: 'gl-hover-text-decoration-none', title: "Discord", target: '_blank', rel: 'noopener noreferrer nofollow' do = sprite_icon('discord', css_class: 'discord-icon') - - if Feature.enabled?(:mastodon_social_ui, @user) && @user.mastodon.present? + - if @user.mastodon.present? = render 'middle_dot_divider', breakpoint: 'sm' do = link_to mastodon_url(@user), class: 'gl-hover-text-decoration-none', title: "Mastodon", target: '_blank', rel: 'noopener noreferrer nofollow' do = sprite_icon('mastodon', css_class: 'mastodon-icon') |