parent
0081d898cb
commit
090ef98ec6
|
@ -6,7 +6,7 @@
|
||||||
<strong><%= l(:label_tags_forum) %>:<%= link_to "#{forum.name}",
|
<strong><%= l(:label_tags_forum) %>:<%= link_to "#{forum.name}",
|
||||||
:controller => "forums",:action => "show",:id => forum.id %></strong>
|
:controller => "forums",:action => "show",:id => forum.id %></strong>
|
||||||
<br />
|
<br />
|
||||||
<strong><%= l(:label_tags_forum_description) %>:</strong><%= forum.description %>
|
<strong><%= l(:label_tags_forum_description) %>:</strong><%= textAreailizable forum.description %>
|
||||||
<%= forum.updated_at %>
|
<%= forum.updated_at %>
|
||||||
</p>
|
</p>
|
||||||
<div class="line_under"></div>
|
<div class="line_under"></div>
|
||||||
|
|
|
@ -2,45 +2,45 @@
|
||||||
<% unless show_flag.nil? %>
|
<% unless show_flag.nil? %>
|
||||||
<% case %>
|
<% case %>
|
||||||
<% when show_flag == '1' %>
|
<% when show_flag == '1' %>
|
||||||
<strong><%=l(:label_user)%>(<%= @results_count %>)</strong>
|
<strong><%=l(:label_user)%>(<%= @results_count %>)</strong>
|
||||||
<%= render :partial => "show_users",:locals => {:users_results => users_results}%>
|
<%= render :partial => "show_users",:locals => {:users_results => users_results}%>
|
||||||
<% when show_flag == '2'%>
|
<% when show_flag == '2'%>
|
||||||
<strong><%=l(:label_project)%>(<%= @results_count %>)</strong>
|
<strong><%=l(:label_project)%>(<%= @results_count %>)</strong>
|
||||||
<%= render :partial => "show_projects",:locals => {:projects_results => projects_results }%>
|
<%= render :partial => "show_projects",:locals => {:projects_results => projects_results }%>
|
||||||
<% when show_flag == '3'%>
|
<% when show_flag == '3'%>
|
||||||
<strong><%=l(:label_issue)%>(<%= @results_count %>)</strong>
|
<strong><%=l(:label_issue)%>(<%= @results_count %>)</strong>
|
||||||
<%= render :partial => "show_issues",:locals => {:issues_results => issues_results }%>
|
<%= render :partial => "show_issues",:locals => {:issues_results => issues_results }%>
|
||||||
<% when show_flag == '4'%>
|
<% when show_flag == '4'%>
|
||||||
<strong><%= l(:label_requirement)%>(<%= @results_count %>)</strong>
|
<strong><%= l(:label_requirement)%>(<%= @results_count %>)</strong>
|
||||||
<%= render :partial => "show_bids",:locals => {:bids_results => bids_results}%>
|
<%= render :partial => "show_bids",:locals => {:bids_results => bids_results}%>
|
||||||
<% when show_flag == '5'%>
|
<% when show_flag == '5'%>
|
||||||
<strong><%= l(:label_forum)%>(<%= @results_count %>)</strong>
|
<strong><%= l(:label_forum)%>(<%= @results_count %>)</strong>
|
||||||
<%= render :partial => "show_forums",:locals => {:forums_results => forums_results}%>
|
<%= render :partial => "show_forums",:locals => {:forums_results => forums_results}%>
|
||||||
<% when show_flag == '6'%>
|
<% when show_flag == '6'%>
|
||||||
<strong><%= l(:label_attachment)%>(<%= @results_count %>)</strong>
|
<strong><%= l(:label_attachment)%>(<%= @results_count %>)</strong>
|
||||||
<%= render :partial => "show_attachments",:locals => {:attachments_results => attachments_results}%>
|
<%= render :partial => "show_attachments",:locals => {:attachments_results => attachments_results}%>
|
||||||
<% when show_flag == '7'%>
|
<% when show_flag == '7'%>
|
||||||
<strong><%= l(:label_contest_innovate)%>(<%= @results_count %>)</strong>
|
<strong><%= l(:label_contest_innovate)%>(<%= @results_count %>)</strong>
|
||||||
<%= render :partial => "show_contests",:locals => {:contests_results => contests_results}%>
|
<%= render :partial => "show_contests",:locals => {:contests_results => contests_results}%>
|
||||||
<% when show_flag == '8'%>
|
<% when show_flag == '8'%>
|
||||||
<strong><%#= l(:label_attachment)%>
|
<strong><%#= l(:label_attachment)%>
|
||||||
开源项目:(<%= @results_count %>)</strong>
|
开源项目:(<%= @results_count %>)</strong>
|
||||||
<%= render :partial => "show_open_source_projects",:locals => {:projects_results => open_source_projects_results}%>
|
<%= render :partial => "show_open_source_projects",:locals => {:projects_results => open_source_projects_results}%>
|
||||||
<% when show_flag == '9'%>
|
<% when show_flag == '9'%>
|
||||||
<strong><%= l(:label_course)%>(<%= @results_count %>)</strong>
|
<strong><%= l(:label_course)%>(<%= @results_count %>)</strong>
|
||||||
<%= render :partial => "show_courses",:locals => {:courses_results => courses_results}%>
|
<%= render :partial => "show_courses",:locals => {:courses_results => courses_results}%>
|
||||||
<% else %>
|
<% else %>
|
||||||
<strong><%= l(:label_tags_all_objects)%></strong>
|
<strong><%= l(:label_tags_all_objects)%></strong>
|
||||||
<!-- 这里为显示搜有过滤结果预留了默认设置 -->
|
<!-- 这里为显示搜有过滤结果预留了默认设置 -->
|
||||||
<%= render :partial => "show_issues",:locals => {:issues_results => issues_results }%>
|
<%= render :partial => "show_issues",:locals => {:issues_results => issues_results }%>
|
||||||
<%= render :partial => "show_users",:locals => {:users_results => users_results }%>
|
<%= render :partial => "show_users",:locals => {:users_results => users_results }%>
|
||||||
<%= render :partial => "show_projects",:locals => {:projects_results => projects_results }%>
|
<%= render :partial => "show_projects",:locals => {:projects_results => projects_results }%>
|
||||||
<%= render :partial => "show_bids",:locals => {:bids_results => bids_results}%>
|
<%= render :partial => "show_bids",:locals => {:bids_results => bids_results}%>
|
||||||
<%= render :partial => "show_contests",:locals => {:contests_results => contests_results}%>
|
<%= render :partial => "show_contests",:locals => {:contests_results => contests_results}%>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<% else %>
|
<% else %>
|
||||||
<span>no data...</span>
|
<span>no data...</span>
|
||||||
<% end %>
|
<% end %>
|
||||||
</ul>
|
</ul>
|
||||||
<%= render :partial => "pagination",:locals => {:obj_pages => @obj_pages} %>
|
<%= render :partial => "pagination",:locals => {:obj_pages => @obj_pages} %>
|
||||||
|
|
Loading…
Reference in New Issue