* add series to dashboard sidebar template * add series view to the user dashboard * update typo * merge master * modify the dashboard to hold series count that link to the user's series page * remove schema unnecessary change * remove controller count from function
This commit is contained in:
parent
fc86c30790
commit
269ef9c4f6
1 changed files with 5 additions and 0 deletions
|
|
@ -4,6 +4,11 @@
|
|||
<span class="crayons-indicator"><%= @user.articles_count %></span>
|
||||
</a>
|
||||
|
||||
<a class="crayons-link crayons-link--block <%= "crayons-link--current" if params[:action] == "series" && (params[:which] == "organization" || params[:which].blank?) %>" href="/<%=current_user.username%>/series">
|
||||
Series
|
||||
<span class="crayons-indicator"><%= @user.collections.count %></span>
|
||||
</a>
|
||||
|
||||
<a class="crayons-link crayons-link--block <%= "crayons-link--current" if params[:action] == "followers" %>" href="/dashboard/user_followers">
|
||||
Followers
|
||||
<span class="crayons-indicator"><%= @user.followers_count %></span>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue