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 %>