修改了关注的显示

This commit is contained in:
huangjingquan 2013-10-09 21:53:07 +08:00
parent ad597695f5
commit 72f2793b0a
1 changed files with 4 additions and 3 deletions

View File

@ -60,8 +60,9 @@
<% end %>
<% unless User.current.member_of?(@project) %>
<!-- <%= image_tag "/images/fav.png" %> -->
<div class="icon-fav icon" style="margin-right: 30px; margin-left: 20px">
<%= watcher_link(@project, User.current) %></div>
<div style="padding-right: 10px">
<span class="icon-fav icon"></span><span>
<%= watcher_link(@project, User.current) %></span></div>
<% end %></td>
</tr>
@ -95,7 +96,7 @@
<table style="font-family:微软雅黑" >
<tr>
<td valign="top" style="padding-left: 8px;"><%= l(:label_main_teacher) %></td><td class="font_lighter_sidebar"><%= @course.teacher.lastname+@course.teacher.firstname %></td>
<td valign="top" style="padding-left: 8px;"><%= l(:label_main_teacher) %></td><td class="font_lighter_sidebar"><%=link_to (@course.teacher.lastname+@course.teacher.firstname) %></td>
</tr>