issue总数实时刷新
This commit is contained in:
parent
27f45b5ea0
commit
9a89590ca9
|
@ -0,0 +1 @@
|
||||||
|
<span class="issues_nav_tag ml5" ><%= @issue_count %></span>
|
|
@ -156,7 +156,8 @@
|
||||||
<div class="issues_con_list" style="position: relative;">
|
<div class="issues_con_list" style="position: relative;">
|
||||||
<ul id="issues_list_nav" >
|
<ul id="issues_list_nav" >
|
||||||
<li id="issues_list_nav_1" onclick="HoverLi(1);all_reset_form();">
|
<li id="issues_list_nav_1" onclick="HoverLi(1);all_reset_form();">
|
||||||
<a href="javascript:void(0);" onclick="all_reset_form();" id="issues_type_1" >所有<span class="issues_nav_tag ml5"><%= @project.project_score.issue_num %></span></a>
|
<a href="javascript:void(0);" onclick="all_reset_form();" id="issues_type_1" >所有
|
||||||
|
<span id="issue_filter_all"><%= render :partial => "issues/issue_filter_all" %></span></a>
|
||||||
</li>
|
</li>
|
||||||
<!--li id="issues_list_nav_2" onclick="HoverLi(2);">
|
<!--li id="issues_list_nav_2" onclick="HoverLi(2);">
|
||||||
<a href="javascript:void(0);" onclick="switch_assign_to(<%#= User.current.id %>)" id="issues_type_2" >指派给我
|
<a href="javascript:void(0);" onclick="switch_assign_to(<%#= User.current.id %>)" id="issues_type_2" >指派给我
|
||||||
|
@ -232,12 +233,7 @@
|
||||||
)
|
)
|
||||||
%>
|
%>
|
||||||
|
|
||||||
<%#= select( :issue,:user_id, @project.members.order("lower(users.login)").map{|c| [c.name, c.user_id]}.unshift(["作者",0]),
|
|
||||||
{ :include_blank => false,:selected=>@author_id ? @author_id : 0
|
|
||||||
},
|
|
||||||
{:onchange=>"remote_function();",:id=>"author_id",:name=>"author_id",:class=>"w90 mr18"}
|
|
||||||
)
|
|
||||||
%>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
//$("#issue_list").html("<%#= escape_javascript(render :partial => 'issues/list',:locals => {:issues => @issues, :query => @query,:issue_pages=>@issue_pages,:issue_count=>@issue_count})%>");
|
//$("#issue_list").html("<%#= escape_javascript(render :partial => 'issues/list',:locals => {:issues => @issues, :query => @query,:issue_pages=>@issue_pages,:issue_count=>@issue_count})%>");
|
||||||
$("#issue_assigned_count").html("<%= escape_javascript(render :partial => 'issues/issue_filter') %>");
|
$("#issue_assigned_count").html("<%= escape_javascript(render :partial => 'issues/issue_filter') %>");
|
||||||
|
$("#issue_filter_all").html("<%= escape_javascript(render :partial => 'issues/issue_filter_all') %>");
|
||||||
$("#issue_author_count").html("<%= escape_javascript(render :partial => 'issues/issue_filter_author') %>");
|
$("#issue_author_count").html("<%= escape_javascript(render :partial => 'issues/issue_filter_author') %>");
|
||||||
$("#issue_list").html("<%= escape_javascript(render :partial => 'issues/all_list',:locals => {:issues => @issues, :query => @query, :issue_pages=> @issue_pages, :issue_count => @issue_count, :project=> @project})%>");
|
$("#issue_list").html("<%= escape_javascript(render :partial => 'issues/all_list',:locals => {:issues => @issues, :query => @query, :issue_pages=> @issue_pages, :issue_count => @issue_count, :project=> @project})%>");
|
||||||
$("#issue_list_pagination").html('<%= pagination_links_full @issue_pages, @issue_count, :issues => @issues, :per_page_links => false, :remote => @is_remote, :flag => true, :is_new => true %>');
|
$("#issue_list_pagination").html('<%= pagination_links_full @issue_pages, @issue_count, :issues => @issues, :per_page_links => false, :remote => @is_remote, :flag => true, :is_new => true %>');
|
||||||
|
|
Loading…
Reference in New Issue