<%= render_menu :bid_menu %>
<% end %>
<%= yield %>
<%= call_hook :view_layouts_base_content %>
<%= image_tag(url_to_avatar(@user), :class => "avatar2") %> |
|
<%= 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(Bid.where('parent_id = ?', @bid.id).count, show_course_path(@bid)) %>
个高校课程引用为作业! |
||
有 <%= link_to(count_bid_project, show_bid_project_path(@bid)) %>
个项目正在实现该需求! |
有 <%= link_to(count_bid_user, show_bid_user_path(@bid)) %>
个高校用户正在努力完成此需求! |
<%= link_to l(:label_x_followers, :count => @bid.watcher_users.count)+"("+@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_x_bids_responses, :count => @bid.commit)+"("+@bid.commit.to_s+")", respond_path(@bid)%>
<%= l(:label_tag) %>
<%= render :partial => 'tags/tag', :locals => {:obj => @bid, :object_flag => "4"}%> |
<%= l(:label_x_followers, :count => @bid.watcher_users.count) %>
<% if @bid.watcher_users.size>0 %>
<% for user in @bid.watcher_users%>
<%= image_tag(url_to_avatar(user), :class => "avatar", :title => user.name ) %>
<% end %>
<% else %>
<%= l(:label_project_no_follow) %> <% end%> |
<%= l(:label_bidding_project) %>
<% if @bid.projects.size>0 %>
<% for project in @bid.projects%>
<%= image_tag(url_to_avatar(project), :class => "avatar", :title => project.name) %>
<% end%>
<% else %>
<%= l(:label_no_bid_project) %> <% end %> |
<% if display_main_menu?(@bid) %>
<%=render :partial => 'layouts/base_footer'%>
<%= debug(params) if Rails.env.development? %>