|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
<!-- fq -->
|
|
|
|
|
|
|
|
|
|
<!-- <% bids.each do |bid|%>
|
|
|
|
|
<% bids.each do |bid|%>
|
|
|
|
|
|
|
|
|
|
<table width="95%" border="0" style="padding-left: 10px; padding-top: 10px;">
|
|
|
|
|
<tr>
|
|
|
|
@ -13,17 +13,17 @@
|
|
|
|
|
<tr>
|
|
|
|
|
<td width="500">
|
|
|
|
|
<table border="0">
|
|
|
|
|
<tr>
|
|
|
|
|
<tr><td>
|
|
|
|
|
<% if bid.reward_type.nil? or bid.reward_type == 1%>
|
|
|
|
|
<td style="color: rgb(255, 0, 0);"><strong><%= l(:label_price) %><%= l(:label_RMB_sign) %><%= bid.budget%></strong></td>
|
|
|
|
|
<% elsif bid.reward_type == 2%>
|
|
|
|
|
<td style="color: #15bccf;"><strong><%= l(:label_reward) %><%= bid.budget%></strong></td>
|
|
|
|
|
<% else %>
|
|
|
|
|
<td style="color: rgb(60, 180, 30);"><strong><%= l(:label_grade) %><%= bid.budget%></strong></td>
|
|
|
|
|
<% end %>
|
|
|
|
|
<td class="font_lighter">(<%= link_to bid.biding_projects.count, project_for_bid_path(bid)%>)<%= l(:label_biding_project) %></td>
|
|
|
|
|
<td class="font_lighter">(<%= link_to bid.commit, respond_path(bid)%>)<%= l(:label_responses) %></td>
|
|
|
|
|
<td class="font_lighter">(<%= link_to bid.watcher_users.count, respond_path(bid)%>)<%= l(:label_followers) %></td>
|
|
|
|
|
<strong>奖励方式:<span style="color: rgb(255, 0, 0);font-family: 14px; font-family: 微软雅黑">奖金 <%= bid.budget%><%= l(:label_RMB_sign) %></span></strong>
|
|
|
|
|
<% elsif bid.reward_type == 2%>
|
|
|
|
|
<strong>奖励方式:<span style="color: #15bccf;font-family: 14px; font-family: 微软雅黑"><%= bid.budget%></span></strong>
|
|
|
|
|
<% else %>
|
|
|
|
|
<strong>奖励方式:<span style="color: #ed8924;font-family: 14px; font-family: 微软雅黑">学分 <%= bid.budget%>分</span></strong>
|
|
|
|
|
<% end %>
|
|
|
|
|
<span class="font_lighter">(<%= link_to bid.biding_projects.count, project_for_bid_path(bid)%>)<%= l(:label_biding_project) %></span>
|
|
|
|
|
<span class="font_lighter">(<%= link_to bid.commit, respond_path(bid)%>)<%= l(:label_responses) %></span>
|
|
|
|
|
<span class="font_lighter">(<%= link_to bid.watcher_users.count, respond_path(bid)%>)<%= l(:label_followers) %></span></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table></td>
|
|
|
|
|
<td width="200" align="right" class="a"><span class="font_lighter"> <%= format_time bid.created_on %></span></td>
|
|
|
|
@ -46,10 +46,10 @@
|
|
|
|
|
<ul>
|
|
|
|
|
<%= pagination_links_full bid_pages %>
|
|
|
|
|
<ul>
|
|
|
|
|
</div> -->
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<!--new-->
|
|
|
|
|
<% bids.each do |bid|%>
|
|
|
|
|
<!-- <% bids.each do |bid|%>
|
|
|
|
|
<table width="98%" border="0" style="padding-left: 20px; padding-top: 10px;">
|
|
|
|
|
<tr>
|
|
|
|
|
<td valign="top" width="50px"><%= link_to(image_tag(url_to_avatar(bid.author), :class => 'avatar'), user_path(bid.author), :class => "avatar") %></td>
|
|
|
|
@ -98,4 +98,4 @@
|
|
|
|
|
<ul>
|
|
|
|
|
<%= pagination_links_full bid_pages %>
|
|
|
|
|
<ul>
|
|
|
|
|
</div>
|
|
|
|
|
</div> -->
|