<%= render_menu :bid_menu %>
<% end %>
<%= yield %>
<%= call_hook :view_layouts_base_content %>
<%= link_to image_tag(url_to_avatar(@user), :class => "avatar2"), user_path(@user), :class => "avatar" %> |
|
<%= l(:label_investor) %><%= link_to(@user, user_path(@user))%> | ||
<%= 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 %>
<%= l(:label_investment_time_limit) %><%= @bid.deadline%> |
<%= link_to l(:label_followers)+"("+@bid.watcher_users.count.to_s+")", respond_path(@bid) %>
<%= link_to l(:label_bidding_project)+"("+@bid.biding_projects.count.to_s+")", project_for_bid_path(@bid) %>
<%= link_to l(:label_responses)+"("+@bid.commit.to_s+")", respond_path(@bid)%>
<%= l(:label_tag) %>
<%= render :partial => 'tags/tag', :locals => {:obj => @bid, :object_flag => "4"}%> |
<%= l(:label_followers) %>
<% if @bid.watcher_users.size>0 %>
<% for user in @bid.watcher_users%>
<%= link_to image_tag(url_to_avatar(user), :class => "avatar", :title => user.name ), user_path(user), :class => "avatar" %>
<% end %>
<% else %>
<%= l(:label_project_no_follow) %> <% end%> |
<%= l(:label_bidding_project) %>
<% if @bid.projects.size>0 %>
<% for project in @bid.projects%>
<%= link_to image_tag(url_to_avatar(project), :class => "avatar", :title => project.name), project_path(project), :class => "avatar" %>
<% end%>
<% else %>
<%= l(:label_no_bid_project) %> <% end %> |
<% if display_main_menu?(@bid) %>
<%=render :partial => 'layouts/base_footer'%>