diff --git a/app/views/issues/index.html.erb b/app/views/issues/index.html.erb index 9e6b9fac2..c704f9847 100644 --- a/app/views/issues/index.html.erb +++ b/app/views/issues/index.html.erb @@ -170,7 +170,7 @@ <% end %>
»<%= l(:label_versions_progress)%>
<%= progress_bar([version.closed_percent], :width => '648px;', :legend => ('%0.0f%' % version.completed_percent)) %>- <%= link_to(l(:label_x_issues, :count => version.issues_count), + <%#= link_to(l(:label_x_issues, :count => version.issues_count), project_issues_path(version.project, :status_id => '*', :fixed_version_id => version, :set_filter => 1), :class =>"c_dblue",) %> + <%=version.issues_count%> 问题 - (<%= link_to_if(version.closed_issues_count > 0, l(:label_x_closed_issues_abbr, :count => version.closed_issues_count), + (<%#= link_to_if(version.closed_issues_count > 0, l(:label_x_closed_issues_abbr, :count => version.closed_issues_count), project_issues_path(version.project, :status_id => 'c', :fixed_version_id => version, :set_filter => 1), :class =>"c_dblue") %> + <% if version.closed_issues_count > 0 %> + <%end%><%=version.closed_issues_count%> 已关闭 — - <%= link_to_if(version.open_issues_count > 0, l(:label_x_open_issues_abbr, :count => version.open_issues_count), - project_issues_path(version.project, :status_id => 'o', :fixed_version_id => version, :set_filter => 1), :class =>"c_dblue") %>) + <%#= link_to_if(version.open_issues_count > 0, l(:label_x_open_issues_abbr, :count => version.open_issues_count), + project_issues_path(version.project, :status_id => 'o', :fixed_version_id => version, :set_filter => 1), :class =>"c_dblue") %> + <% if version.open_issues_count > 0%> + <%end%><%=version.open_issues_count%> 打开 + )
<% else %>- <%= link_to_version_show version, :name => version_anchor(version) %> + <%= version_anchor(version)%> + <%#= link_to_version_show version, :name => version_anchor(version) %> <% if version.completed? %> <%= format_date(version.effective_date) %> <% elsif version.effective_date %> @@ -57,7 +58,7 @@
»<%= l(:label_versions_description)%>
<%=h version.description %>
-»<%= link_to "导出:XLS", version_path(version, :format => 'xls') %>
+»<%= link_to "导出:Excel", version_path(version, :format => 'xls') %>