From bfe0176b74f4b75d371c9569a543d21bde3c73db Mon Sep 17 00:00:00 2001 From: huang Date: Wed, 15 Apr 2015 11:15:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=99=84=E4=BB=B6=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/issues/index.html.erb | 1 + app/views/issues/show.html.erb | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/app/views/issues/index.html.erb b/app/views/issues/index.html.erb index 7ac495c8a..951218f98 100644 --- a/app/views/issues/index.html.erb +++ b/app/views/issues/index.html.erb @@ -1,6 +1,7 @@

<%= l(:label_issue_tracking) %>

+
<% unless @project.enabled_modules.where("name = 'issue_tracking'").empty? %> diff --git a/app/views/issues/show.html.erb b/app/views/issues/show.html.erb index 273243851..1fcd66a7f 100644 --- a/app/views/issues/show.html.erb +++ b/app/views/issues/show.html.erb @@ -32,9 +32,9 @@ <% end %>
- + - <%= link_to_attachments @issue, :thumbnails => true %>
+ <%= link_to_attachment_project @issue, :thumbnails => true %>
<% end -%> <%= call_hook(:view_issues_show_description_bottom, :issue => @issue) %>
@@ -77,7 +77,7 @@ <% end %>
<% unless @issue.disabled_core_fields.include?('done_ratio') %> -
  •  % 完成  : 

    <%= progress_bar(@issue.done_ratio, :width => '80px', :legend => "#{@issue.done_ratio}%") %> +
  •  % 完成  : 

    <%= progress_bar(@issue.done_ratio, :width => '0px', :legend => "#{@issue.done_ratio}%") %>
  • <% end %>