2013-08-04 10:59:25 +08:00
|
|
|
|
<!-- fq -->
|
2013-08-01 20:47:00 +08:00
|
|
|
|
<table width="660px" border="0" align="center">
|
|
|
|
|
<tr>
|
|
|
|
|
<td width="50" valign="top"><%= link_to image_tag(url_to_avatar(@bid.author), :class => "avatar"), user_path(@bid.author), :class => "avatar" %></td>
|
|
|
|
|
<td><table width="100%" border="0">
|
|
|
|
|
<tr>
|
|
|
|
|
<td><h3><%= link_to(@bid.author.name, user_path(@bid.author))%>:<%= @bid.name %></h3></td>
|
2013-08-28 20:36:27 +08:00
|
|
|
|
<td>
|
|
|
|
|
<!-- 在这里添加赞和踩-->
|
|
|
|
|
<span id="praise_tread" style="float: right">
|
|
|
|
|
<%= render :partial => "/praise_tread/praise_tread",
|
|
|
|
|
:locals => {:obj => @bid,:show_flag => true,:user_id =>User.current.id}%>
|
|
|
|
|
</span>
|
|
|
|
|
|
|
|
|
|
</td>
|
2013-08-01 20:47:00 +08:00
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
2013-08-20 16:32:45 +08:00
|
|
|
|
<% if @bid.reward_type.nil? or @bid.reward_type == 1%>
|
2013-08-22 20:26:56 +08:00
|
|
|
|
<td><strong><%= l(:label_bids_reward_method) %><span style="color: #ed8924;font-family: 14px; font-family: 微软雅黑"><%= l(:label_call_bonus) %> <%= l(:label_RMB_sign) %><%= @bid.budget%></span></strong></td>
|
2013-08-20 22:05:11 +08:00
|
|
|
|
<% elsif @bid.reward_type == 2%>
|
2013-08-21 16:53:40 +08:00
|
|
|
|
<td><strong><%= l(:label_bids_reward_method) %><span style="color: #15bccf;font-family: 14px; font-family: 微软雅黑"><%= @bid.budget%></span></strong></td>
|
2013-08-20 22:05:11 +08:00
|
|
|
|
<% else %>
|
2013-08-27 16:17:52 +08:00
|
|
|
|
<td><strong><%= l(:label_bids_reward_method) %><span style="color: #00aa83;font-family: 14px; font-family: 微软雅黑"><%= l(:label_bids_credit) %> <%= @bid.budget%> <%= l(:label_bids_credit_number) %></span></strong></td>
|
2013-08-20 22:05:11 +08:00
|
|
|
|
<% end %>
|
2013-08-01 20:47:00 +08:00
|
|
|
|
</tr>
|
|
|
|
|
</table></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
<div class="bid-description" style="border-bottom: 1px solid rgb(225, 225, 225); margin-bottom: 20px; padding-bottom: 20px;">
|
|
|
|
|
<table border="0" width="600px" align="center">
|
2013-08-01 10:33:49 +08:00
|
|
|
|
<tr>
|
2013-08-01 20:47:00 +08:00
|
|
|
|
<td></td>
|
2013-08-01 10:33:49 +08:00
|
|
|
|
</tr>
|
2013-08-01 20:47:00 +08:00
|
|
|
|
<tr><td style="font-size: 15px; color: rgb(0,0,0);"><%= @bid.description %></td></tr>
|
2013-08-01 10:33:49 +08:00
|
|
|
|
</table>
|
2013-08-01 20:47:00 +08:00
|
|
|
|
</div>
|
2013-08-05 22:47:01 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-08-01 10:33:49 +08:00
|
|
|
|
<div id="history">
|
|
|
|
|
<%= render :partial => 'history', :locals => { :bid => @bid, :journals => @jour, :state => false} %>
|
|
|
|
|
</div>
|
|
|
|
|
|
2013-08-15 09:54:08 +08:00
|
|
|
|
<div class="pagination" style="float:left;">
|
|
|
|
|
<ul>
|
|
|
|
|
<%= pagination_links_full @feedback_pages %>
|
|
|
|
|
<ul>
|
|
|
|
|
</div>
|
2013-08-05 22:47:01 +08:00
|
|
|
|
|
2013-08-01 10:33:49 +08:00
|
|
|
|
<!-- end -->
|