bug#2779:搜索用户结果页面项目后没有冒号,课程后又有冒号,建议统一改为没有冒号

This commit is contained in:
yutao 2015-06-13 09:41:35 +08:00
parent 4a91aac3ad
commit 29b2018a5a
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@
<%# memberships = user.memberships.all(:conditions => cond) %>
<% user_courses = user_courses_list(user) %>
<%= l(:label_x_course_contribute_to, :count => user_courses.count) %>
<%= "" unless user_courses.empty? %>
<%#= "" unless user_courses.empty? %>
<% for course in user_courses %>
<%# if course.name != nil %>
<%= link_to course.name,{:controller => 'courses',:action => 'show',id:course.id, host: Setting.host_course} %><%= (user_courses.last == course) ? '' : '' %>