课程logo替换,邀请码样式更改,班级路径显示主讲教师

This commit is contained in:
Tim 2016-08-05 17:30:13 +08:00
parent e8d4bc0772
commit d4f08f6498
2 changed files with 6 additions and 3 deletions

View File

@ -3,6 +3,8 @@
<% student_num = studentCount(@course) %>
<% course_file_num = visable_attachemnts_incourse(@course).count %>
<p class="sy_cgrey mb10">
<%= link_to(@course.teacher.show_name, user_path(@course.teacher), :class => 'sy_cgrey') %>
&nbsp;&gt;&nbsp;
<% if @course.syllabus %>
<%=link_to @course.syllabus.title, syllabus_path(@course.syllabus_id), :class => 'sy_cgrey' %>
&nbsp;&gt;&nbsp;

View File

@ -323,9 +323,10 @@ a.sy_class_option:hover {
height:110px;
}
.sy_class_id{
width:110px;
height:80px;
background:#f1f1f1;
width:108px;
height:78px;
border:1px solid #f1f1f1;
background:#fff;
text-align:center;
padding-top:30px;
}