Merge branch 'develop' of https://git.trustie.net/jacknudt/trustieforge into develop
This commit is contained in:
commit
809cb5a344
|
@ -68,11 +68,11 @@
|
||||||
</li>
|
</li>
|
||||||
<% if hidden_unproject_infos %>
|
<% if hidden_unproject_infos %>
|
||||||
<li>
|
<li>
|
||||||
<%= link_to '我的课程',{:controller => "users", :action => "user_courselist", :id => User.current.id}, :class => "menuGrey" %>
|
<%= link_to '我的课程',{:controller => "users", :action => "user_courselist", :id => User.current}, :class => "menuGrey" %>
|
||||||
</li>
|
</li>
|
||||||
<% end %>
|
<% end %>
|
||||||
<li>
|
<li>
|
||||||
<%= link_to "我的组织", user_organizations_user_path(:id => User.current.id), :class => "menuGrey"%>
|
<%= link_to "我的组织", user_organizations_user_path(:id => User.current), :class => "menuGrey"%>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<%= link_to "新建组织", new_organization_path, :class => "menuGrey"%>
|
<%= link_to "新建组织", new_organization_path, :class => "menuGrey"%>
|
||||||
|
|
|
@ -134,19 +134,19 @@
|
||||||
</div>
|
</div>
|
||||||
<ul class="user_atten clear">
|
<ul class="user_atten clear">
|
||||||
<li>
|
<li>
|
||||||
<a href="<%=user_blogs_path(:user_id => @user.id) %>">
|
<a href="<%=user_blogs_path(:user_id => @user) %>">
|
||||||
<strong>博客</strong><br />
|
<strong>博客</strong><br />
|
||||||
<span class="sy_cgrey"><%=@user.blog.blog_comments.where("#{BlogComment.table_name}.parent_id is null").count %></span>
|
<span class="sy_cgrey"><%=@user.blog.blog_comments.where("#{BlogComment.table_name}.parent_id is null").count %></span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a href="<%=user_watchlist_user_path(@user.id) %>">
|
<a href="<%=user_watchlist_user_path(@user) %>">
|
||||||
<strong>关注</strong><br />
|
<strong>关注</strong><br />
|
||||||
<span class="sy_cgrey"><%=User.watched_by(@user.id).count %></span>
|
<span class="sy_cgrey"><%=User.watched_by(@user).count %></span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a href="<%=user_fanslist_user_path(@user.id) %>">
|
<a href="<%=user_fanslist_user_path(@user) %>">
|
||||||
<strong>粉丝</strong><br />
|
<strong>粉丝</strong><br />
|
||||||
<span class="sy_cgrey"><%= @user.watcher_users.count %></span>
|
<span class="sy_cgrey"><%= @user.watcher_users.count %></span>
|
||||||
</a>
|
</a>
|
||||||
|
|
Loading…
Reference in New Issue