班级老师也可以点击班级logo进行编辑
This commit is contained in:
parent
4c59acf5a3
commit
7efdda5b45
|
@ -31,7 +31,7 @@
|
|||
<div class="cl"></div>
|
||||
<div class="sy_class_logo fl">
|
||||
<div class="pr" style="width: 96px; height:96px;">
|
||||
<% if User.current.logged? && (User.current == @course.teacher || User.current.admin?)%>
|
||||
<% if is_teacher%>
|
||||
<%=link_to image_tag(url_to_avatar(@course),width:"96", height: "96", :id=>'nh_source_tx'), my_clear_user_avatar_temp_path(:course => @course.id), :remote => true%>
|
||||
<div class="homepageEditProfile undis">
|
||||
<%=link_to '', my_clear_user_avatar_temp_path(:course => @course.id), :class => 'homepageEditProfileIcon', :title => '点击编辑头像', :remote => true %>
|
||||
|
|
Loading…
Reference in New Issue