This commit is contained in:
parent
fccd83e199
commit
d23b196eaa
|
@ -4,8 +4,7 @@
|
||||||
<h3><%= link_to(@bid.author.lastname+@bid.author.firstname, user_path(@bid.author))%>:<%= @bid.name %></h3>
|
<h3><%= link_to(@bid.author.lastname+@bid.author.firstname, user_path(@bid.author))%>:<%= @bid.name %></h3>
|
||||||
<% if @bid.reward_type.nil? or @bid.reward_type == 1%>
|
<% if @bid.reward_type.nil? or @bid.reward_type == 1%>
|
||||||
<p>
|
<p>
|
||||||
<strong><%= l(:label_bids_reward_method) %><span class="bonus"><%= l(:label_call_bonus) %>
|
<strong><%= l(:label_bids_reward_method) %><span class="bonus"><%= l(:label_call_bonus) %> <%= l(:label_RMB_sign) %><%= @bid.budget %></span></strong>
|
||||||
<%= l(:label_RMB_sign) %><%= @bid.budget %></span></strong>
|
|
||||||
</p>
|
</p>
|
||||||
<% elsif @bid.reward_type == 2%>
|
<% elsif @bid.reward_type == 2%>
|
||||||
<p>
|
<p>
|
||||||
|
@ -13,21 +12,20 @@
|
||||||
</p>
|
</p>
|
||||||
<% else %>
|
<% else %>
|
||||||
<% end %>
|
<% end %>
|
||||||
<p class="bid_description">
|
<div class="bid_description">
|
||||||
<%= @bid.description %>
|
<%= @bid.description %>
|
||||||
</p>
|
|
||||||
<% if @bid.attachments.any?%>
|
<% if @bid.attachments.any?%>
|
||||||
<% options = {:author => true} %>
|
<% options = {:author => true} %>
|
||||||
<%= render :partial => 'attachments/links',
|
<%= render :partial => 'attachments/links', :locals => {:attachments => @bid.attachments, :options => options} %>
|
||||||
:locals => {:attachments => @bid.attachments, :options => options} %>
|
|
||||||
<% end %>
|
<% end %>
|
||||||
|
</div>
|
||||||
<span id="praise_tread" style="float: right">
|
<span id="praise_tread" style="float: right">
|
||||||
<%= render :partial => "/praise_tread/praise_tread",
|
<%= render :partial => "/praise_tread/praise_tread",
|
||||||
:locals => {:obj => @bid,:show_flag => true,:user_id =>User.current.id}%>
|
:locals => {:obj => @bid,:show_flag => true,:user_id =>User.current.id}%>
|
||||||
</span>
|
</span>
|
||||||
</span>
|
</span>
|
||||||
<div style="clear: both;"></div>
|
|
||||||
</div>
|
</div>
|
||||||
|
<div style="clear: both;"></div>
|
||||||
|
|
||||||
<div id="history">
|
<div id="history">
|
||||||
<%= render :partial => 'history', :locals => { :bid => @bid, :journals => @jour, :state => false} %>
|
<%= render :partial => 'history', :locals => { :bid => @bid, :journals => @jour, :state => false} %>
|
||||||
|
|
Loading…
Reference in New Issue