bigdir/app/views/layouts/right.html.erb

15 lines
745 B
Plaintext

<div class="tags_right">
<h2>Search Results</h2>
<div id="filter-menu" align="right">
<%= link_to "User",:action => "index"%>(<%= @issues_tags_num %>)|
<%= link_to "Project",:action => "index"%>(<%= @projects_tags_num %>) |
<%= link_to "Issue",:action => "index"%>(<%= @users_tags_num %>) |
<%= link_to "Bid",:action => "index"%> |
<%= link_to "All",:action => "index"%>
</div>
<div id="show_results">
<!-- 显示规则 0 全部显示 1显示users 2显示projects 3显示issues 4显示需求-->
<%= render :partial => "tag_search_results",:locals => {:issues_results => @issues_results,
:projects_results => @projects_results,:users_results => @users_results,:show_flag => @show_flag } %>
</div>
</div>