"软件众包"和“创新竞赛”中“关注”及前面星号的隐藏属性设置

This commit is contained in:
wanglinchun 2013-12-31 15:36:35 +08:00
parent fdcb68bd69
commit 0c8e1e19e6
2 changed files with 2 additions and 2 deletions

View File

@ -69,7 +69,7 @@
<tr>
<td class="info_font" style=" word-wrap: break-word; word-break: break-all"><%= h @bid.name %></td>
</tr>
<% if ( !(User.current.member_of? @project) && User.current.login?) %>
<% if User.current.login? %>
<tr>
<td align="center"> <%= link_to(l(:label_fork_homework_new), fork_path(@bid)) %></td>
</tr>

View File

@ -60,7 +60,7 @@
<tr>
<td class="info_font" style=" word-wrap: break-word; word-break: break-all"><%= h @bid.name %></td>
</tr>
<% if ( !(User.current.member_of? @project) && User.current.login?) %> <!--added by linchun-->
<% if User.current.login? %> <!--added by linchun-->
<tr colspan='3'>
<td valign="middle">
<span style="display:block; margin-left:20px;"><%= join_in_contest(@bid, User.current)%></span>