delete the icon show about course

This commit is contained in:
xianbo 2013-10-12 14:34:52 +08:00
parent 8082bb456f
commit 2bd110c550
1 changed files with 14 additions and 12 deletions

View File

@ -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>
<%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 %>
<% 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>
</tr>
</table>