From 959ce67ad68f7bc7b6fe22cefedff961d49d5934 Mon Sep 17 00:00:00 2001 From: ViditChitkara Date: Tue, 30 Jan 2018 23:04:18 +0530 Subject: [PATCH] Add "comment" and "barnstar" headings to profile nav fixes #2165 --- app/views/users/profile.html.erb | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/app/views/users/profile.html.erb b/app/views/users/profile.html.erb index 72ce4fab6e..741ec5f773 100644 --- a/app/views/users/profile.html.erb +++ b/app/views/users/profile.html.erb @@ -173,9 +173,9 @@
  • <%= t('users.profile.research') %>
  • -
  • +
  • (<%= @user.like_count %>)
  • -
  • (<%= @user.user.try(:barnstars).try(:length) %>)
  • +
  • (<%= @user.user.try(:barnstars).try(:length) %>)

  • @@ -274,5 +274,11 @@ })(); + + <%= stylesheet_link_tag "dashboard" %> <%= javascript_include_tag "dashboard" %>