2014-01-02 16:07:59 +08:00
|
|
|
|
<div style="margin-left: 20px;">
|
|
|
|
|
<span class="portrait"><%= image_tag(url_to_avatar(@bid.author), :class => "avatar")%></span>
|
|
|
|
|
<span class="body">
|
|
|
|
|
<h3><%= link_to(@bid.author.lastname+@bid.author.firstname, user_path(@bid.author))%>:<%= @bid.name %></h3>
|
2013-08-20 16:32:45 +08:00
|
|
|
|
<% if @bid.reward_type.nil? or @bid.reward_type == 1%>
|
2014-01-02 16:07:59 +08:00
|
|
|
|
<p>
|
|
|
|
|
<strong><%= l(:label_bids_reward_method) %><span class="bonus"><%= l(:label_call_bonus) %>
|
|
|
|
|
<%= l(:label_RMB_sign) %><%= @bid.budget %></span></strong>
|
|
|
|
|
</p>
|
2013-11-13 10:19:47 +08:00
|
|
|
|
<% elsif @bid.reward_type == 2%>
|
2014-01-02 16:07:59 +08:00
|
|
|
|
<p>
|
|
|
|
|
<strong><%= l(:label_bids_reward_method) %><span class="bonus"><%= @bid.budget%></span></strong>
|
|
|
|
|
</p>
|
|
|
|
|
<% else %>
|
|
|
|
|
<% end %>
|
|
|
|
|
<p class="bid_description">
|
|
|
|
|
<%= @bid.description %>
|
|
|
|
|
</p>
|
2013-09-13 21:52:24 +08:00
|
|
|
|
<% if @bid.attachments.any?%>
|
2014-01-02 16:07:59 +08:00
|
|
|
|
<% options = {:author => true} %>
|
|
|
|
|
<%= render :partial => 'attachments/links',
|
|
|
|
|
:locals => {:attachments => @bid.attachments, :options => options} %>
|
2013-09-13 21:52:24 +08:00
|
|
|
|
<% end %>
|
2014-01-02 16:07:59 +08:00
|
|
|
|
<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>
|
|
|
|
|
</span>
|
|
|
|
|
<div style="clear: both;"></div>
|
|
|
|
|
</div>
|
2013-09-30 11:02:04 +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 %>
|
2013-09-23 20:12:32 +08:00
|
|
|
|
<ul>
|
2013-08-15 09:54:08 +08:00
|
|
|
|
</div>
|
2013-08-05 22:47:01 +08:00
|
|
|
|
|