diff --git a/app/views/files/_newfile_index.html.erb b/app/views/files/_newfile_index.html.erb
new file mode 100644
index 000000000..5ffaacae4
--- /dev/null
+++ b/app/views/files/_newfile_index.html.erb
@@ -0,0 +1,250 @@
+
+
+ <% if @isproject %>
+ <%= render :partial => 'project_file', locals: {project: @project} %>
+ <% else %>
+ <%= render :partial => 'course_file', locals: {course: @course} %>
+ <% end %>
+
+
+
+
+
+
diff --git a/app/views/files/_project_file.html.erb b/app/views/files/_project_file.html.erb
index e2f928332..e204030f1 100644
--- a/app/views/files/_project_file.html.erb
+++ b/app/views/files/_project_file.html.erb
@@ -1,11 +1,8 @@
-
<% attachmenttypes = @project.attachmenttypes %>
<% sufixtypes = @project.contenttypes %>
-
-
<%#= link_to(l(:label_attachment_new), 'javascript:void(0);', :onclick=>"$('#file_buttons').slideToggle();", :class => 'icon icon-add') if User.current.allowed_to?(:manage_files, @project) %>
diff --git a/app/views/files/index.html.erb b/app/views/files/index.html.erb
index fe04c4e3f..39bc8b52e 100644
--- a/app/views/files/index.html.erb
+++ b/app/views/files/index.html.erb
@@ -1,250 +1 @@
-
-
-<% if @isproject %>
- <%= render :partial => 'project_file', locals: {project: @project} %>
-<% else %>
- <%= render :partial => 'course_file', locals: {course: @course} %>
-<% end %>
-
-
-
-
-
-
+<%= render :partial => 'files/newfile_index' %>
\ No newline at end of file
diff --git a/app/views/files/index.js.erb b/app/views/files/index.js.erb
new file mode 100644
index 000000000..59bc2407f
--- /dev/null
+++ b/app/views/files/index.js.erb
@@ -0,0 +1,2 @@
+alert("eeee");
+$('#content').html('<%= escape_javascript(render :partial => 'issues/newissue_index') %>');
diff --git a/app/views/files/new.html.erb b/app/views/files/new.html.erb
index 8fd99b195..be9bcd722 100644
--- a/app/views/files/new.html.erb
+++ b/app/views/files/new.html.erb
@@ -1,4 +1,6 @@
-
<%=l(:label_attachment_new)%>
+
+
<%=l(:label_attachment_new)%>
+
<%= error_messages_for 'attachment' %>
<%= form_tag(project_files_path(@project), :multipart => true, :class => "tabular") do %>
diff --git a/app/views/gantts/show.html.erb b/app/views/gantts/show.html.erb
index 6ec189256..2808a99cc 100644
--- a/app/views/gantts/show.html.erb
+++ b/app/views/gantts/show.html.erb
@@ -1,5 +1,7 @@
-<% @gantt.view = self %>
-
<%= @query.new_record? ? l(:label_gantt) : h(@query.name) %>
+
+
<% @gantt.view = self %>
+ <%= @query.new_record? ? l(:label_gantt) : h(@query.name) %>
+
<%= form_tag({:controller => 'gantts', :action => 'show',
:project_id => @project, :month => params[:month],
diff --git a/app/views/issues/_newissue_index.html.erb b/app/views/issues/_newissue_index.html.erb
new file mode 100644
index 000000000..f0b7c0108
--- /dev/null
+++ b/app/views/issues/_newissue_index.html.erb
@@ -0,0 +1,137 @@
+
+
问题跟踪
+
+
+ <% if @project.enabled_modules.where("name = 'issue_tracking'").count > 0 %>
+
+ <%= link_to l(:label_issue_new), {:controller => 'issues', :action => 'new', :copy_from => nil}, :param => :project_id, :caption => :label_issue_new,
+ :html => {:accesskey => Redmine::AccessKeys.key_for(:new_issue)}, :class => 'icon icon-add' %>
+ <%= link_to l(:label_query), '#', :class => 'icon icon-help',
+ :onclick => '$("#custom_query").slideToggle(400); ' if true || User.current.logged? %>
+
+ <% end %>
+ 问题总数:100 未解决:20
+
+
+ <% if !@query.new_record? && @query.editable_by?(User.current) %>
+ <%= link_to l(:button_edit), edit_query_path(@query), :class => 'icon icon-edit' %>
+ <%= delete_link query_path(@query) %>
+ <% end %>
+
+
+<% html_title(@query.new_record? ? l(:label_issue_plural) : @query.name) %>
+
+ <%= form_tag({:controller => 'issues', :action => 'index', :project_id => @project}, :method => :get, :id => 'query_form', :class => 'query_form') do %>
+ <%= hidden_field_tag 'set_filter', '1' %>
+
+
+
---<%= l :label_query_new %>---
+
+
+
+
+
+ <%= link_to_function l(:label_issue_query), 'submit_query_form("query_form")', :class => 'icon icon-checked' %>
+ <%= link_to l(:label_issue_cancel_query), {:set_filter => 1, :project_id => @project}, :class => 'icon icon-reload' %>
+
+
+
+ <% end %>
+
+
+<%= error_messages_for 'query' %>
+
+<% if @query.valid? %>
+ <% if @issues.empty? %>
+
+ <%= l(:label_no_data) %>
+
+ <% else %>
+ <%= render :partial => 'issues/list', :locals => {:issues => @issues, :query => @query} %>
+
+ <% end %>
+
+ <% other_formats_links do |f| %>
+ <%= f.link_to 'Atom', :url => params.merge(:key => User.current.rss_key) %>
+ <%= f.link_to 'CSV', :url => params, :onclick => "showModal('csv-export-options', '330px'); return false;" %>
+ <%= f.link_to 'PDF', :url => params %>
+ <% end %>
+
+
+
+
+
<%= l(:label_export_options, :export_format => 'CSV') %>
+ <%= form_tag(params.merge({:format => 'csv', :page => nil}), :method => :get, :id => 'csv-export-form') do %>
+
+
+
+
+
+
+
+
+
+ <%= submit_tag l(:button_export), :name => nil, :onclick => "hideModal(this);" %>
+ <%= submit_tag l(:button_cancel), :name => nil, :onclick => "hideModal(this);", :type => 'button' %>
+
+ <% end %>
+
+
+<% end %>
+
+<%= call_hook(:view_issues_index_bottom, {:issues => @issues, :project => @project, :query => @query}) %>
+
+<% content_for :sidebar do %>
+ <%= render :partial => 'issues/sidebar' %>
+<% end %>
+
+<% content_for :header_tags do %>
+ <%= auto_discovery_link_tag(:atom,
+ {:query_id => @query, :format => 'atom',
+ :page => nil, :key => User.current.rss_key},
+ :title => l(:label_issue_plural)) %>
+ <%= auto_discovery_link_tag(:atom,
+ {:controller => 'journals', :action => 'index',
+ :query_id => @query, :format => 'atom',
+ :page => nil, :key => User.current.rss_key},
+ :title => l(:label_changes_details)) %>
+<% end %>
+
+<%= context_menu issues_context_menu_path %>
diff --git a/app/views/issues/index.html.erb b/app/views/issues/index.html.erb
index 219a0f641..b3750a770 100644
--- a/app/views/issues/index.html.erb
+++ b/app/views/issues/index.html.erb
@@ -1,135 +1 @@
-
- <% if @project.enabled_modules.where("name = 'issue_tracking'").count > 0 %>
-
- <%= link_to l(:label_issue_new), {:controller => 'issues', :action => 'new', :copy_from => nil}, :param => :project_id, :caption => :label_issue_new,
- :html => {:accesskey => Redmine::AccessKeys.key_for(:new_issue)}, :class => 'icon icon-add' %>
-
- <%= link_to l(:label_query), '#', :class => 'icon icon-help',
- :onclick => '$("#custom_query").slideToggle(400); ' if true || User.current.logged? %>
-
- <% end %>
-
-
-
- <% if !@query.new_record? && @query.editable_by?(User.current) %>
- <%= link_to l(:button_edit), edit_query_path(@query), :class => 'icon icon-edit' %>
- <%= delete_link query_path(@query) %>
- <% end %>
-
-
-<% html_title(@query.new_record? ? l(:label_issue_plural) : @query.name) %>
-
- <%= form_tag({:controller => 'issues', :action => 'index', :project_id => @project}, :method => :get, :id => 'query_form', :class => 'query_form') do %>
- <%= hidden_field_tag 'set_filter', '1' %>
-
-
-
---<%= l :label_query_new %>---
-
-
-
-
-
- <%= link_to_function l(:label_issue_query), 'submit_query_form("query_form")', :class => 'icon icon-checked' %>
- <%= link_to l(:label_issue_cancel_query), {:set_filter => 1, :project_id => @project}, :class => 'icon icon-reload' %>
-
-
-
- <% end %>
-
-
-<%= error_messages_for 'query' %>
-
-<% if @query.valid? %>
- <% if @issues.empty? %>
-
- <%= l(:label_no_data) %>
-
- <% else %>
- <%= render :partial => 'issues/list', :locals => {:issues => @issues, :query => @query} %>
-
- <% end %>
-
- <% other_formats_links do |f| %>
- <%= f.link_to 'Atom', :url => params.merge(:key => User.current.rss_key) %>
- <%= f.link_to 'CSV', :url => params, :onclick => "showModal('csv-export-options', '330px'); return false;" %>
- <%= f.link_to 'PDF', :url => params %>
- <% end %>
-
-
-
-
-
<%= l(:label_export_options, :export_format => 'CSV') %>
- <%= form_tag(params.merge({:format => 'csv', :page => nil}), :method => :get, :id => 'csv-export-form') do %>
-
-
-
-
-
-
-
-
-
- <%= submit_tag l(:button_export), :name => nil, :onclick => "hideModal(this);" %>
- <%= submit_tag l(:button_cancel), :name => nil, :onclick => "hideModal(this);", :type => 'button' %>
-
- <% end %>
-
-
-<% end %>
-
-<%= call_hook(:view_issues_index_bottom, {:issues => @issues, :project => @project, :query => @query}) %>
-
-<% content_for :sidebar do %>
- <%= render :partial => 'issues/sidebar' %>
-<% end %>
-
-<% content_for :header_tags do %>
- <%= auto_discovery_link_tag(:atom,
- {:query_id => @query, :format => 'atom',
- :page => nil, :key => User.current.rss_key},
- :title => l(:label_issue_plural)) %>
- <%= auto_discovery_link_tag(:atom,
- {:controller => 'journals', :action => 'index',
- :query_id => @query, :format => 'atom',
- :page => nil, :key => User.current.rss_key},
- :title => l(:label_changes_details)) %>
-<% end %>
-
-<%= context_menu issues_context_menu_path %>
+<%= render :partial => 'issues/newissue_index' %>
\ No newline at end of file
diff --git a/app/views/issues/index.js.erb b/app/views/issues/index.js.erb
new file mode 100644
index 000000000..866882053
--- /dev/null
+++ b/app/views/issues/index.js.erb
@@ -0,0 +1 @@
+$('#content').html('<%= escape_javascript(render :partial => 'issues/newissue_index') %>');
diff --git a/app/views/issues/new.html.erb b/app/views/issues/new.html.erb
index 05ec50c11..51ebd139e 100644
--- a/app/views/issues/new.html.erb
+++ b/app/views/issues/new.html.erb
@@ -1,3 +1,6 @@
+
+
问题跟踪
+
<%= call_hook(:view_issues_new_top, {:issue => @issue}) %>
<%= labelled_form_for @issue, :url => project_issues_path(@project),
diff --git a/app/views/issues/show.html.erb b/app/views/issues/show.html.erb
index 270c950ae..fb8296f64 100644
--- a/app/views/issues/show.html.erb
+++ b/app/views/issues/show.html.erb
@@ -1,3 +1,6 @@
+
+
问题跟踪
+
<%# html_title "#{@issue.tracker.name} ##{@issue.id}: #{@issue.subject}" %>
<% html_title "#{@issue.tracker.name} #{@issue.source_from}'#'#{@issue.project_index}: #{@issue.subject}" %>
diff --git a/app/views/layouts/_base_feedback.html.erb b/app/views/layouts/_base_feedback.html.erb
index c4479b43a..2444af68c 100644
--- a/app/views/layouts/_base_feedback.html.erb
+++ b/app/views/layouts/_base_feedback.html.erb
@@ -1,32 +1,30 @@