This commit is contained in:
parent
fccd83e199
commit
d23b196eaa
|
@ -2,40 +2,38 @@
|
||||||
<span class="portrait"><%= image_tag(url_to_avatar(@bid.author), :class => "avatar")%></span>
|
<span class="portrait"><%= image_tag(url_to_avatar(@bid.author), :class => "avatar")%></span>
|
||||||
<span class="body">
|
<span class="body">
|
||||||
<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>
|
||||||
<strong><%= l(:label_bids_reward_method) %><span class="bonus"><%= @bid.budget%></span></strong>
|
<strong><%= l(:label_bids_reward_method) %><span class="bonus"><%= @bid.budget%></span></strong>
|
||||||
</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 %>
|
||||||
<span id="praise_tread" style="float: right">
|
</div>
|
||||||
<%= render :partial => "/praise_tread/praise_tread",
|
<span id="praise_tread" style="float: right">
|
||||||
:locals => {:obj => @bid,:show_flag => true,:user_id =>User.current.id}%>
|
<%= render :partial => "/praise_tread/praise_tread",
|
||||||
</span>
|
:locals => {:obj => @bid,:show_flag => true,:user_id =>User.current.id}%>
|
||||||
</span>
|
</span>
|
||||||
<div style="clear: both;"></div>
|
</span>
|
||||||
</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} %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="pagination" style="float:left;">
|
<div class="pagination" style="float:left;">
|
||||||
<ul>
|
<ul>
|
||||||
<%= pagination_links_full @feedback_pages %>
|
<%= pagination_links_full @feedback_pages %>
|
||||||
<ul>
|
<ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue