Skip to content

Commit

Permalink
Update app/views/users/_sidebar.html.erb
Browse files Browse the repository at this point in the history
Co-authored-by: sarken <[email protected]>
  • Loading branch information
neuroalien and sarken authored Jul 16, 2023
1 parent a30de63 commit c3e4ab9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/views/users/_sidebar.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
<li><%= span_if_current ts("Profile"), user_profile_path(@user) %></li>
<% if @user.pseuds.size > 1 %>
<li class="pseud" aria-haspopup="true">
<% pseud_link_text = current_page?(@user) ? ts("Pseuds") : (@pseud ? ( @pseud.name ? @pseud.name : ts("Pseuds") ) : @user.login) %>
<a href="#" title="<%= ts("Pseud Switcher") %>"><%= pseud_link_text %></a>
<a href="#" title="<%= ts("Pseud Switcher") %>"><%= ts("Pseuds") %></a>
<ul class="expandable secondary">
<%= print_pseud_selector(@user.pseuds.abbreviated_list) %>
<li><%= span_if_current ts("All Pseuds (%{pseud_number})", :pseud_number => @user.pseuds.count), user_pseuds_path(@user) %></li>
Expand Down

0 comments on commit c3e4ab9

Please sign in to comment.