<%= image_tag(url_to_avatar(bid.author), :class => 'avatar') %> |
<%= link_to(bid.author, user_path(bid.author), :class => 'bid_user') %>: <%= link_to(bid.name, respond_path(bid), :class => 'bid_path') %> |
<% 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 %>
<% end %>
|
<% if bid.reward_type == 3 %>
<%= l(:label_x_homework_project, :count => bid.biding_projects.count) %>(<%=link_to bid.biding_projects.count, project_for_bid_path(bid) %>)
<%= l(:label_x_responses, :count => bid.commit) %>(<%=link_to bid.commit, respond_path(bid) %>)
<% else %>
<%= l(:label_x_biding_project, :count => bid.biding_projects.count) %>(<%=link_to bid.biding_projects.count, project_for_bid_path(bid) %>)
<%= l(:label_x_bids_responses, :count => bid.commit) %>(<%=link_to bid.commit, respond_path(bid) %>)
<% end %>
<%= l(:label_x_followers, :count => bid.watcher_users.count) %>(<%=link_to bid.watcher_users.count, respond_path(bid) %>)
|
|
<%= format_time bid.created_on %> |
|
|