<%= l(:label_more) %>
+
+
-
-
+
+
+ <%= l(:label_projects_community)%> | -<%= l(:label_user_location) %> : | -
-
-
+
+ <%= form_tag(projects_search_path, :method => :get, :id => "project_search_form") do %>
+ <%= text_field_tag 'name', params[:name], :size => 20, :onkeyup => "regexName();", :style => "float:left" %>
+ <%= hidden_field_tag 'project_type', params[:project_type] %>
+ <%#= submit_tag l(:label_search), :class => "enterprise", :name => nil %>
+ <%= l(:label_search)%>
+ + + <% end %> + |
+
+ + <%= link_to l(:label_home),home_path %> > + <%= link_to @project, project_path(@project) %> + |
+
+
-
-
-
-
-
-
-
+
- - <% end %> -
-
-
+
- // 修改数字控制速度, slideUp(500)控制卷起速度
- $(this).next(".navContent").slideToggle(500).siblings(".navContent").slideUp(500);
- })
- })
-
- function show_more_msg()
- {$("#course_description").toggleClass("course_description_none");}
-
-
- <%= form_tag(projects_search_path, :method => :get, :id => "project_search_form") do %>
- <%= text_field_tag 'name', params[:name], :size => 20, :onkeyup => "regexName();", :style => "float:left" %>
- <%= hidden_field_tag 'project_type', params[:project_type] %>
- <%#= submit_tag l(:label_search), :class => "enterprise", :name => nil %>
- <%= l(:label_search)%>
-
+ <%= image_tag(url_to_avatar(@project), :style => 'width:61px; height:61px;') %>
+
+
+ ID:<%= @project.id %>
+
+
+
+ <%= render 'layouts/join_exit_project' %>
+
+
+
+
+ <%= link_to @project.name, project_path(@project) %>
+ <% if !@project.is_public? %>
+ <%= 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 },
+ :style => "color: #EC6300;") %>
+ <% end %>
+
+
+ <%= l(:label_member) %>(<%= link_to "#{@project.members.count}", project_member_path(@project) %>)
+ | <%= l(:label_user_watcher) %>(<%= link_to @project.watcher_users.count, :controller=>"projects", :action=>"watcherlist", :id => @project %>)
+ | <%= l(:project_module_attachments) %>(<%= link_to "#{@project.attachments.count}", project_files_path(@project) %>)
+
+ - - <% end %> -
- <%= link_to l(:label_home),home_path %> > - <%= link_to @project, project_path(@project) %> -
-
-
+
-
-
-
-
-
- <%= image_tag(url_to_avatar(@project), :style => 'width:61px; height:61px;') %>
-
-
- ID:<%= @project.id %>
-
-
-
- <%= render 'layouts/join_exit_project' %>
-
-
-
-
- <%= link_to @project.name, project_path(@project) %>
- <% if !@project.is_public? %>
- <%= 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 },
- :style => "color: #EC6300;") %>
- <% end %>
-
-
- <%= l(:label_member) %>(<%= link_to "#{@project.members.count}", project_member_path(@project) %>)
- | <%= l(:label_user_watcher) %>(<%= link_to @project.watcher_users.count, :controller=>"projects", :action=>"watcherlist", :id => @project %>)
- | <%= l(:project_module_attachments) %>(<%= link_to "#{@project.attachments.count}", project_files_path(@project) %>)
-
-
- <% if User.current.member_of?(@project) %>
-
- <%= l(:label_invite)%>
- -
-
- <%= link_to l(:label_invite_new_user), :controller=>"projects", :action=>"invite_members_by_mail", :id => @project %> -
- <%= link_to l(:label_invite_trustie_user), :controller=>"projects", :action=>"invite_members", :id => @project %> -
- <%= link_to l(:label_activity), {:controller => 'projects', :action => 'show', :id => @project.id}, :style => "color:#3CA5C6" %>
-
- <% unless @project.enabled_modules.where("name = 'issue_tracking'").empty? %>
-
- <%= link_to l(:label_issue_tracking), project_issues_path(@project), :style => "color:#3CA5C6" %>(<%= @project.issues.count %>)
+
-
-
-
+ <% if User.current.member_of?(@project) %>
+
+ <% end %>
+ <% unless @project.enabled_modules.where("name = 'boards'").empty? %>
+ <%= l(:label_invite)%>
+ -
+
- <%= link_to l(:label_invite_new_user), :controller=>"projects", :action=>"invite_members_by_mail", :id => @project %> +
- <%= link_to l(:label_invite_trustie_user), :controller=>"projects", :action=>"invite_members", :id => @project %> +
+ <%= link_to l(:label_activity), {:controller => 'projects', :action => 'show', :id => @project.id}, :style => "color:#3CA5C6" %>
+
+ <% unless @project.enabled_modules.where("name = 'issue_tracking'").empty? %>
+
+ <%= link_to l(:label_issue_tracking), project_issues_path(@project), :style => "color:#3CA5C6" %>(<%= @project.issues.count %>)
<% if User.current.member_of?(@project) %>
<%= link_to "+"+l(:label_release_issue), new_project_issue_path(@project) , :style => "font-size:12px;color:#fff; padding:1px 3px 3px 3px;height:18px;margin-top:3px;background:#28be6c;float:right;line-height:20px;" %>
<% end %>
-
- <% end %>
- <% unless @project.enabled_modules.where("name = 'boards'").empty? %>
-
- <%= link_to l(:project_module_boards), project_boards_path(@project), :style => "color:#3CA5C6" %>
- (<%= @project.boards.first.topics.count %>)
- <% if User.current.member_of?(@project) %>
- <%= link_to "+"+l(:project_module_boards_post), project_boards_path(@project, :flag => true), :layout => 'base_projects',:style => "font-size:12px;color:#fff; padding:1px 3px 3px 3px;height:18px;margin-top:4px;background:#28be6c;float:right;line-height:20px;" %>
- <% end %>
-
- <% end%>
- <% unless @project.enabled_modules.where("name = 'files'").empty? %>
-
- <%= link_to l(:label_course_file), project_files_path(@project), :style => "color:#3CA5C6" %>(<%= @project.attachments.count %>)
- <% if User.current.member_of?(@project) %>
- <%= link_to "+"+l(:label_upload_files), project_files_path(@project,:flag => true),:style => "font-size:12px;color:#fff; padding:1px 3px 3px 3px;height:18px;margin-top:3px;background:#28be6c;float:right;line-height:20px;" %>
- <% end %>
-
- <% end%>
- <% unless @project.enabled_modules.where("name = 'repository'").empty? %>
-
- <%= link_to l(:project_module_repository), {:controller => 'repositories', :action => 'show', :id => @project.id}, :style => "color:#3CA5C6" %>
- (<%= @project.repositories.count %>)
- <%# if User.current.member_of?(@project) %>
- <%#= link_to "+"+l(:project_module_create_repository), new_project_repository_path(@project),:style => "font-size:12px;color:#fff; padding:1px 3px 3px 3px;height:18px;margin-top:3px;background:#28be6c;float:right;line-height:20px;" %>
- <%# end %>
-
- <% end %>
+
+ <%= link_to l(:project_module_boards), project_boards_path(@project), :style => "color:#3CA5C6" %>
+ (<%= @project.boards.first.topics.count %>)
+ <% if User.current.member_of?(@project) %>
+ <%= link_to "+"+l(:project_module_boards_post), project_boards_path(@project, :flag => true), :layout => 'base_projects',:style => "font-size:12px;color:#fff; padding:1px 3px 3px 3px;height:18px;margin-top:4px;background:#28be6c;float:right;line-height:20px;" %>
+ <% end %>
+
+ <% end%>
+ <% unless @project.enabled_modules.where("name = 'files'").empty? %>
+
+ <%= link_to l(:label_course_file), project_files_path(@project), :style => "color:#3CA5C6" %>(<%= @project.attachments.count %>)
+ <% if User.current.member_of?(@project) %>
+ <%= link_to "+"+l(:label_upload_files), new_project_file_path(@project),:style => "font-size:12px;color:#fff; padding:1px 3px 3px 3px;height:18px;margin-top:3px;background:#28be6c;float:right;line-height:20px;" %>
+ <% end %>
+
+ <% end%>
+ <% unless @project.enabled_modules.where("name = 'repository'").empty? %>
+
+ <%= link_to l(:project_module_repository), {:controller => 'repositories', :action => 'show', :id => @project.id}, :style => "color:#3CA5C6" %>
+ (<%= @project.repositories.count %>)
+ <% if User.current.member_of?(@project) %>
+ <%= link_to "+"+l(:project_module_create_repository), new_project_repository_path(@project),:style => "font-size:12px;color:#fff; padding:1px 3px 3px 3px;height:18px;margin-top:3px;background:#28be6c;float:right;line-height:20px;" %>
+ <% end %>
+
+ <% end %>
- <%= l(:label_more) %>
- -
- <%= render 'projects/tools_expand' %>
-
-
-
-
-
- <%= l(:label_project_overview) %>
<%= @project.description %> -<%= l(:label_expend_information) %>![](/images/jiantou.jpg)
- ![](/images/jiantou.jpg)
-
- <%= l(:label_tag)%>:
-
-
-
-
-
-
- <%= render :partial => 'tags/project_tag', :locals => {:obj => @project,:object_flag => "2"}%>
-
-
+
+
+
+
+
+
+
+
+ <%= l(:label_project_overview) %>
<%= @project.description %> +<%= l(:label_expend_information) %>![](/images/jiantou.jpg)
+ ![](/images/jiantou.jpg)
+
+ <%= l(:label_tag)%>:
+
+
+
+
+
+
+ <%= render :partial => 'tags/project_tag', :locals => {:obj => @project,:object_flag => "2"}%>
+
+