<%= link_to image_tag(url_to_avatar(@bid.author), :class => "avatar"), user_path(@bid.author), :class => "avatar" %> |
<%= link_to(@bid.author.name, user_path(@bid.author))%>:<%= @bid.name %> |
<%= render :partial => "/praise_tread/praise_tread",
:locals => {:obj => @bid,:show_flag => true,:user_id =>User.current.id}%>
|
<% if @bid.reward_type.nil? or @bid.reward_type == 1%>
<%= l(:label_bids_reward_method) %><%= l(:label_call_bonus) %> <%= l(:label_RMB_sign) %><%= @bid.budget%> |
<% elsif @bid.reward_type == 2%>
<%= l(:label_bids_reward_method) %><%= @bid.budget%> |
<% else %>
<%= l(:label_bids_reward_method) %><%= l(:label_bids_credit) %> <%= @bid.budget%> <%= l(:label_bids_credit_number) %> |
<% end %>
|