diff --git a/app/views/users/_sidebar.html.erb b/app/views/users/_sidebar.html.erb
index 34b1c0f1b4..c4c1849531 100644
--- a/app/views/users/_sidebar.html.erb
+++ b/app/views/users/_sidebar.html.erb
@@ -1,5 +1,5 @@
" role="navigation region">
-
<%= t(".landmark.choices")%>
+
<%= t(".landmark.choices") %>
- <%= span_if_current t(".choices.dashboard"), @user %>
- <%= span_if_current t(".choices.profile"), user_profile_path(@user) %>
@@ -8,7 +8,7 @@
"><%= t(".choices.pseuds") %>
<%= pseud_selector(pseuds_for_sidebar(@user, @pseud)) %>
- - <%= span_if_current t(".choices.all_pseuds", :pseud_number => @user.pseuds.count), user_pseuds_path(@user) %>
+ - <%= span_if_current t(".choices.all_pseuds", pseud_number: @user.pseuds.count), user_pseuds_path(@user) %>
<% end %>
@@ -20,11 +20,11 @@
-
<%= t(".landmark.pitch")%>
+
<%= t(".landmark.pitch") %>
- <%= works_link(@user, @pseud) %>
<% if @user == current_user || logged_in_as_admin? %>
- - <%= span_if_current t(".pitch.drafts", :drafts_number => @user.unposted_works.size), drafts_user_works_path(@user) %>
+ - <%= span_if_current t(".pitch.drafts", drafts_number: @user.unposted_works.size), drafts_user_works_path(@user) %>
<% end %>
- <%= series_link(@user, @pseud) %>
@@ -32,13 +32,13 @@
- <%= bookmarks_link(@user, @pseud) %>
<% end %>
- - <%= span_if_current t(".pitch.collections", :coll_number => @user.maintained_collections.count), user_collections_path(@user) %>
+ - <%= span_if_current t(".pitch.collections", coll_number: @user.maintained_collections.count), user_collections_path(@user) %>
<% if @user == current_user || policy(:dashboard).can_view_inbox_link? %>
-
<%= t(".landmark.catch")%>
+
<%= t(".landmark.catch") %>
- - <%= span_if_current t(".catch.inbox", :inbox_number => @user.unread_inbox_comments_count.to_s), user_inbox_path(@user) %>
+ - <%= span_if_current t(".catch.inbox", inbox_number: @user.unread_inbox_comments_count.to_s), user_inbox_path(@user) %>
<% if @user == current_user %>
- <%= span_if_current t(".catch.statistics"), user_stats_path(@user) %>
<% if @user.preference.try(:history_enabled?) %>
@@ -49,16 +49,16 @@
<% end %>
-
<%= t(".landmark.switch")%>
+
<%= t(".landmark.switch") %>
<% if @user == current_user %>
<% if @user.preference.allow_cocreator %>
- <%= span_if_current t(".switch.co_creator_requests", count: Creatorship.unapproved.for_user(@user).count), user_creatorships_path(@user) %>
<% end %>
- - <%= span_if_current t(".switch.sign_ups", :signup_number =>@user.challenge_signups.count), user_signups_path(@user) %>
- - <%= span_if_current t(".switch.assignments", :assignment_number => (@user.offer_assignments.undefaulted.count + @user.pinch_hit_assignments.undefaulted.count)), user_assignments_path(@user) %>
- - <%= span_if_current t(".switch.claims", :claim_number => (@user.request_claims.unposted.count)), user_claims_path(@user) %>
- - <%= span_if_current t(".switch.related_works", :related_works_number => (@user.related_works.posted.count + @user.parent_work_relationships.count)), user_related_works_path(@user) %>
+ - <%= span_if_current t(".switch.sign_ups", signup_number: @user.challenge_signups.count), user_signups_path(@user) %>
+ - <%= span_if_current t(".switch.assignments", assignment_number: (@user.offer_assignments.undefaulted.count + @user.pinch_hit_assignments.undefaulted.count)), user_assignments_path(@user) %>
+ - <%= span_if_current t(".switch.claims", claim_number: @user.request_claims.unposted.count), user_claims_path(@user) %>
+ - <%= span_if_current t(".switch.related_works", related_works_number: (@user.related_works.posted.count + @user.parent_work_relationships.count)), user_related_works_path(@user) %>
<% end %>
- <%= gifts_link(@user) %>