diff --git a/app/views/courses/_courseList.html.erb b/app/views/courses/_courseList.html.erb index 0e8f4ebb3..d2d3cff9b 100644 --- a/app/views/courses/_courseList.html.erb +++ b/app/views/courses/_courseList.html.erb @@ -1,14 +1,14 @@ <% @syllabuses.each do | sy | %>
-
- +
+

<%= sy.title %>

-
- 用户 - Cillian +
+ <%= link_to image_tag(url_to_avatar(sy.user), :width => "60", :height => "60", :class => "panel-warp-img mr10 fl", :alt => "用户"), user_path(sy.user), :target => '_blank' %> + <%= link_to sy.user.show_name, user_path(sy.user), :class => 'task-index-name task-hide fl', :target => '_blank' %>

<% sy_author = User.find(sy.user_id) %> diff --git a/app/views/users/_edu_user_watch_fan_list.html.erb b/app/views/users/_edu_user_watch_fan_list.html.erb index 07330b1d6..9249dd3af 100644 --- a/app/views/users/_edu_user_watch_fan_list.html.erb +++ b/app/views/users/_edu_user_watch_fan_list.html.erb @@ -31,9 +31,9 @@

<%= link_to user.show_name, user_path(user), :target => '_blank' %>
<% end %> - <% if @user_watchlist_count > 12 %> - <%= link_to '查看更多', user_watchlist_user_path(@user), :target => '_blank', :class => 'color-grey many' %> - <% end %> + <%# if @user_watchlist_count > 12 %> + <%#= link_to '查看更多', user_watchlist_user_path(@user), :target => '_blank', :class => 'color-grey many' %> + <%# end %>
<% end %>
@@ -55,9 +55,9 @@
<%= link_to user.show_name, user_path(user), :target => '_blank' %>
<% end %> - <% if @user_fanlist_count > 12 %> - <%= link_to '查看更多', user_fanslist_user_path(@user), :target => '_blank', :class => 'color-grey many' %> - <% end %> + <%# if @user_fanlist_count > 12 %> + <%#= link_to '查看更多', user_fanslist_user_path(@user), :target => '_blank', :class => 'color-grey many' %> + <%# end %>
<% end %>
\ No newline at end of file