issue列表及左侧导航栏问题跟踪的issue的所有数字统计错误
This commit is contained in:
parent
742d5b630b
commit
0ad71e0f64
|
@ -122,7 +122,7 @@
|
|||
<a href="<%= new_project_issue_path(@project)%>" class="sy_btn_green fl mr10">新 增</a>
|
||||
<div class="issues_statistics fl">
|
||||
<ul>
|
||||
<li>所有<a class="issues_greycirbg_btn "><%= @project.project_score.issue_num %></a></li>
|
||||
<li>所有<a class="issues_greycirbg_btn "><%= @issues_filter.count %></a></li>
|
||||
<li>开启<a class="issues_greycirbg_btn "><%#= @issues_filter_assign_count %><%= @issue_open_count %></a></li>
|
||||
<li>关闭<a class="issues_greycirbg_btn "><%#= @issues_filter_author_count %><%= @issue_close_count %></a></li>
|
||||
</ul>
|
||||
|
|
|
@ -8,8 +8,8 @@
|
|||
<% unless @project.enabled_modules.where("name = 'issue_tracking'").empty? %>
|
||||
<div class="subNav">
|
||||
<%= link_to l(:label_issue_tracking), project_issues_path(@project, :remote => true), :class => "f14 c_blue02" %>
|
||||
<% if @project.project_score.issue_num > 0 %>
|
||||
<a class="subnav_num">(<%= @project.project_score.issue_num %>)</a>
|
||||
<% if @issues_filter.count > 0 %>
|
||||
<a class="subnav_num">(<%= @issues_filter.count %>)</a>
|
||||
<% end %>
|
||||
|
||||
<% if User.current.member_of?(@project) %>
|
||||
|
|
Loading…
Reference in New Issue