delete the icon show about course

exceptionHandle
xianbo 12 years ago
parent 8082bb456f
commit 2bd110c550

@ -52,18 +52,20 @@
<div class="info_font" style=" word-wrap: break-word; word-break: break-all">
<%= @project.name %>
</div>
<% unless @course.teacher.id == User.current.id%>
<!-- <%= image_tag "/images/sidebar/add.png" %>
<%= image_tag "/images/add.png" %> -->
<div class="icon-add icon" style="margin-right: 30px; margin-left: 20px">
<%= join_in_course(@project, User.current)%></div>
<% end %>
<% unless User.current.member_of?(@project) %>
<!-- <%= image_tag "/images/fav.png" %> -->
<div style="padding-right: 10px">
<span class="icon-fav icon"></span><span>
<%= watcher_link(@project, User.current) %></span></div>
<% end %></td>
<%if User.current.login?%>
<% unless @course.teacher.id == User.current.id%>
<!-- <%= image_tag "/images/sidebar/add.png" %>
<%= image_tag "/images/add.png" %> -->
<div class="icon-add icon" style="margin-right: 30px; margin-left: 20px">
<%= join_in_course(@project, User.current)%></div>
<% end %>
<% unless User.current.member_of?(@project) %>
<!-- <%= image_tag "/images/fav.png" %> -->
<div style="padding-right: 10px">
<span class="icon-fav icon"></span><span>
<%= watcher_link(@project, User.current) %></span></div>
<% end %></td>
<% end %>
</tr>
</table>

Loading…
Cancel
Save