2014-01-06 21:11:20 +08:00
|
|
|
|
<% reply_allow = JournalsForMessage.create_by_user? User.current %>
|
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>
|
2014-01-03 22:18:22 +08:00
|
|
|
|
<% if @bid.reward_type.nil? or @bid.reward_type == 1%>
|
|
|
|
|
<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-03 22:18:22 +08:00
|
|
|
|
<p>
|
|
|
|
|
<strong><%= l(:label_bids_reward_method) %><span class="bonus"><%= @bid.budget%></span></strong>
|
|
|
|
|
</p>
|
2014-01-02 16:07:59 +08:00
|
|
|
|
<% else %>
|
|
|
|
|
<% end %>
|
2014-01-03 22:18:22 +08:00
|
|
|
|
<div class="bid_description">
|
2014-04-11 10:56:55 +08:00
|
|
|
|
<%= textilizable(@bid, :description) %>
|
2014-01-03 22:18:22 +08:00
|
|
|
|
<% if @bid.attachments.any?%>
|
2014-01-02 16:07:59 +08:00
|
|
|
|
<% options = {:author => true} %>
|
2014-01-03 22:18:22 +08:00
|
|
|
|
<%= render :partial => 'attachments/links', :locals => {:attachments => @bid.attachments, :options => options} %>
|
2013-09-13 21:52:24 +08:00
|
|
|
|
<% end %>
|
2014-01-03 22:18:22 +08:00
|
|
|
|
</div>
|
|
|
|
|
</span>
|
2014-01-02 16:07:59 +08:00
|
|
|
|
</div>
|
2014-01-03 22:18:22 +08:00
|
|
|
|
<div style="clear: both;"></div>
|
2013-09-30 11:02:04 +08:00
|
|
|
|
|
2013-08-01 10:33:49 +08:00
|
|
|
|
<div id="history">
|
2014-01-03 22:18:22 +08:00
|
|
|
|
<%= render :partial => 'history', :locals => { :bid => @bid, :journals => @jour, :state => false} %>
|
2013-08-01 10:33:49 +08:00
|
|
|
|
</div>
|
|
|
|
|
|
2013-08-15 09:54:08 +08:00
|
|
|
|
<div class="pagination" style="float:left;">
|
|
|
|
|
<ul>
|
|
|
|
|
<%= pagination_links_full @feedback_pages %>
|
2014-05-09 10:20:34 +08:00
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
2013-08-05 22:47:01 +08:00
|
|
|
|
|