delete the icon show about course
This commit is contained in:
parent
8082bb456f
commit
2bd110c550
|
@ -52,18 +52,20 @@
|
||||||
<div class="info_font" style=" word-wrap: break-word; word-break: break-all">
|
<div class="info_font" style=" word-wrap: break-word; word-break: break-all">
|
||||||
<%= @project.name %>
|
<%= @project.name %>
|
||||||
</div>
|
</div>
|
||||||
<% unless @course.teacher.id == User.current.id%>
|
<%if User.current.login?%>
|
||||||
<!-- <%= image_tag "/images/sidebar/add.png" %>
|
<% unless @course.teacher.id == User.current.id%>
|
||||||
<%= image_tag "/images/add.png" %> -->
|
<!-- <%= image_tag "/images/sidebar/add.png" %>
|
||||||
<div class="icon-add icon" style="margin-right: 30px; margin-left: 20px">
|
<%= image_tag "/images/add.png" %> -->
|
||||||
<%= join_in_course(@project, User.current)%></div>
|
<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 %>
|
<% 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>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
Loading…
Reference in New Issue