+
-
- <%= render :partial => 'layouts/new_feedback' %>
-
-
- <%= call_hook :view_layouts_base_body_bottom %>
-
+
+
+
+
+ <%= image_tag(url_to_avatar(@project), :width => "60", :height => "60") %>
+
+
+ <%= l(:label_project_id)%><%= @project.id %>
+
+
+
+ <% text = @project.project_new_type == 1 ? l(:label_development_team) : (@project.project_new_type == 2 ? l(:label_research_group) : l(:label_friend_organization))%>
+ <% typeclass = @project.project_new_type == 1 ? "pr_kafa" : (@project.project_new_type == 2 ? "pr_keyan" : "pr_friend")%>
+ <%= render 'layouts/join_exit_project',{:text => text, :typeclass => typeclass} %>
+
+
+
+
+ <%= link_to l(:label_project_name)+"#{@project.name}", project_path(@project.id), :class=>"pr_info_name fl c_dark fb break_word" %>
+ <% if @project.is_public? %>
+ <%= l(:label_public)%>
+ <% else %>
+ <%= l(:label_private)%>
+ <% end %>
+
+
+ <% if @project.project_type == 0 %>
+ <%= l(:label_project_score)%> :
+ <%= link_to(format("%.2f" ,project_scores(@project) ).to_i, {:controller => 'projects',
+ :action => 'show_projects_score',
+ :remote => true,
+ :id => @project.id}, :class => "c_orange f14" ) %>
+ <% end %>
+
-
-
-
-
-
+
+
- <%= form_tag(projects_search_path, :method => :get, :id => "project_search_form", :class => "search_form") do %>
- <%= text_field_tag 'name', params[:name], :placeholder => "项目名称", :class => "search_text fl", :onkeyup => "regexName('#{l(:label_search_conditions_not_null)}');" %>
-
- <%= l(:label_search)%>
-
-
-
+
+
+ <%= l(:label_member) %>(<%= link_to "#{@project.members.count}", project_member_path(@project), :class => 'info_foot_num c_blue' %>)
+ |
+ <%= l(:label_user_watcher) %>(<%= link_to "#{@project.watcher_users.count}", {:controller=>"projects", :action=>"watcherlist", :id => @project.id}, :class => 'info_foot_num c_blue' %>)
+ |
+ <%= l(:project_module_attachments) %>(
+ <% attaments_num = @project.attachments.count+Attachment.where(["`container_type` = 'Version' and `container_id` in (?)",@project.versions.map{ |v| v.id}]).all.count %>
+ <%= link_to "#{attaments_num}", project_files_path(@project), :class => 'info_foot_num c_blue' %>)
+
+
+
+ <% if User.current.member_of?(@project) %>
+
- <%= l(:label_invite)%>
+
-
-
-
+
-
-
-
-
-
-
- <%= image_tag(url_to_avatar(@project), :width => "60", :height => "60") %>
-
-
- <%= l(:label_project_id)%><%= @project.id %>
-
-
-
- <% text = @project.project_new_type == 1 ? l(:label_development_team) : (@project.project_new_type == 2 ? l(:label_research_group) : l(:label_friend_organization))%>
- <% typeclass = @project.project_new_type == 1 ? "pr_kafa" : (@project.project_new_type == 2 ? "pr_keyan" : "pr_friend")%>
- <%= render 'layouts/join_exit_project',{:text => text, :typeclass => typeclass} %>
-
-
-
-
- <%= link_to l(:label_project_name)+"#{@project.name}", project_path(@project.id), :class=>"pr_info_name fl c_dark fb break_word" %>
- <% if @project.is_public? %>
- <%= l(:label_public)%>
- <% else %>
- <%= l(:label_private)%>
- <% end %>
-
-
-
- <% if @project.project_type == 0 %>
- <%= l(:label_project_score)%> :
- <%= link_to(format("%.2f" ,project_scores(@project) ).to_i, {:controller => 'projects',
- :action => 'show_projects_score',
- :remote => true,
- :id => @project.id
- }, :class => "c_orange f14" ) %>
- <% end %>
-
-
-
-
- <%= l(:label_member) %>(<%= link_to "#{@project.members.count}", project_member_path(@project), :class => 'info_foot_num c_blue' %>)
- |
- <%= l(:label_user_watcher) %>(<%= link_to "#{@project.watcher_users.count}", {:controller=>"projects", :action=>"watcherlist", :id => @project.id}, :class => 'info_foot_num c_blue' %>)
- |
- <%= l(:project_module_attachments) %>(
- <% attaments_num = @project.attachments.count+Attachment.where(["`container_type` = 'Version' and `container_id` in (?)",@project.versions.map{ |v| v.id}]).all.count %>
- <%= link_to "#{attaments_num}", project_files_path(@project), :class => 'info_foot_num c_blue' %>)
-
-
-
- <% if User.current.member_of?(@project) %>
-
-
-
-
- <%= l(:label_invite)%>
-
- <% end %>
-
-
-
- <% if @project.project_new_type == 1 || @project.project_new_type.nil? %>
- <%= render :partial => 'layouts/base_development_group', :locals => {:project => @project}%>
- <% elsif @project.project_new_type == 2 %>
- <%= render :partial => 'layouts/base_research_team', :locals => {:project => @project}%>
- <% else %>
- <%= render :partial => 'layouts/base_friend_group', :locals => {:project => @project}%>
- <% end %>
-
-
-
-
+
+ <% end %>
+
+
+
-
- <%= l(:label_project_overview)%>:
-
- <%= textilizable(@project.description) if @project.description && !@project.description.blank? %>
-
-
-
-
-
-
-
- 
+ <% if @project.project_new_type == 1 || @project.project_new_type.nil? %>
+ <%= render :partial => 'projects/development_group', :locals => {:project => @project}%>
+ <% elsif @project.project_new_type == 2 %>
+ <%= render :partial => 'projects/research_team', :locals => {:project => @project}%>
+ <% else %>
+ <%= render :partial => 'projects/friend_group', :locals => {:project => @project}%>
+ <% end %>
+
+
+
-
- <%= l(:label_tag)%>:
-
-
-
-
-
+
-
+
+ <%= l(:label_project_overview)%>:
+
+ <%= textilizable(@project.description) if @project.description && !@project.description.blank? %>
+
+
+
+
+
+
+
+ 
- <%= render_flash_messages %>
- <%= yield %>
- <%= call_hook :view_layouts_base_content %>
-
-
-
-
- <%= render :partial => 'layouts/new_footer'%>
+
+
+
- <%= l(:label_tag)%>:
+
+
-
+
-
- <% text = @project.project_new_type == 1 ? "development_group" : (@project.project_new_type == 2 ? "research_group" : "friend_organization")%>
-
-
-
+ 请选择项目类型:
--
-
- id="development_group"/> -
- id="research_group"/> -
- id="friend_organization"/> -