58 lines
2.1 KiB
Plaintext
58 lines
2.1 KiB
Plaintext
<!-- fq -->
|
||
<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.lastname+@bid.author.firstname, user_path(@bid.author))%>:<%= @bid.name %></h3></td>
|
||
</tr>
|
||
<tr>
|
||
<% if @bid.reward_type.nil? or @bid.reward_type == 1%>
|
||
|
||
<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>
|
||
<% elsif @bid.reward_type == 2%>
|
||
|
||
<td><strong><%= l(:label_bids_reward_method) %>
|
||
<span style="color: #15bccf;font-family: 14px; font-family: 微软雅黑">
|
||
<%= @bid.budget%>
|
||
</span></strong></td>
|
||
<% else %>
|
||
<!-- <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> -->
|
||
<% end %>
|
||
</tr>
|
||
<!--modified by baiyu-->
|
||
<tr><td style="font-size: 13px; color: rgb(0,0,0);"><%= @bid.description %>
|
||
<% if @bid.attachments.any?%>
|
||
<% options = {:author => true} %>
|
||
<%= render :partial => 'attachments/links',
|
||
:locals => {:attachments => @bid.attachments, :options => options} %>
|
||
<% end %>
|
||
</td></tr>
|
||
</table></td>
|
||
<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>
|
||
</tr>
|
||
</table>
|
||
|
||
<!-- 这里是用户的反馈输入框 -->
|
||
<div id="history">
|
||
<%= render :partial => 'history', :locals => { :bid => @bid, :journals => @jour, :state => false} %>
|
||
</div>
|
||
|
||
<div class="pagination" style="float:left;">
|
||
<ul>
|
||
<%= pagination_links_full @feedback_pages %>
|
||
<ul>
|
||
</div>
|
||
|
||
<!-- end -->
|