diff --git a/app/views/courses/_course_teacher.html.erb b/app/views/courses/_course_teacher.html.erb index 5571a4546..ef1ffc808 100644 --- a/app/views/courses/_course_teacher.html.erb +++ b/app/views/courses/_course_teacher.html.erb @@ -1,6 +1,7 @@
加入时间 + 角色
<% members.each do |member| %> @@ -9,8 +10,9 @@ <%= member.user.nil? ? '' : (image_tag(url_to_avatar(member.user), :width => 32, :height => 32)) %> <%= l(:label_username)%> - <%= link_to(member.user.name, user_path(member.user),:class => "ml10 c_blue02") %> + <%= link_to(member.user.show_name, user_path(member.user),:class => "ml10 c_blue02") %> <%= format_date(member.created_on)%> + <%= zh_course_role(h member.roles.sort.collect(&:to_s).first)%>
<% end%> diff --git a/public/stylesheets/public.css b/public/stylesheets/public.css index 5006a11e4..031b73afb 100644 --- a/public/stylesheets/public.css +++ b/public/stylesheets/public.css @@ -70,6 +70,9 @@ h4{ font-size:14px; color:#3b3b3b;} .mr20{ margin-right:20px;} .mr30{ margin-right:30px;} .mr40{ margin-right:40px;} +.mr50{margin-right: 50px;} +.mr55{margin-right: 55px;} +.mr70{margin-right: 70px;} .mt3{ margin-top:3px;} .mt5{ margin-top:5px;} .mt8{ margin-top:8px;} @@ -79,6 +82,7 @@ h4{ font-size:14px; color:#3b3b3b;} .mb20{ margin-bottom:20px;} .pl15{ padding-left:15px;} .w20{ width:20px;} +.w45{ width: 45px;} .w60{ width:60px;} .w70{ width:70px;} .w90{ width:90px;}