From 6977c851fb8fd4b5df0a5b96496583bfd26c1bc4 Mon Sep 17 00:00:00 2001 From: huangjingquan Date: Fri, 16 Aug 2013 21:17:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=97=AE=E9=A2=98=E5=88=97?= =?UTF-8?q?=E8=A1=A8-=E6=96=B0=E5=BB=BA=E9=97=AE=E9=A2=98=E4=BD=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/issues/index.html.erb | 10 +++++++--- public/stylesheets/application.css | 1 - 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/app/views/issues/index.html.erb b/app/views/issues/index.html.erb index b16159ce7..8294c6562 100644 --- a/app/views/issues/index.html.erb +++ b/app/views/issues/index.html.erb @@ -1,3 +1,9 @@ + +
+ <%= 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' %> +
+
<% if !@query.new_record? && @query.editable_by?(User.current) %> <%= link_to l(:button_edit), edit_query_path(@query), :class => 'icon icon-edit' %> @@ -48,9 +54,7 @@

<%= link_to_function l(:button_apply), 'submit_query_form("query_form")', :class => 'icon icon-checked' %> - <%= link_to l(:button_clear), { :set_filter => 1, :project_id => @project }, :class => 'icon icon-reload' %> - <%= 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(:button_clear), { :set_filter => 1, :project_id => @project }, :class => 'icon icon-reload' %> <% if @query.new_record? && User.current.allowed_to?(:save_queries, @project, :global => true) %> <%= link_to_function l(:button_save), "$('#query_form').attr('action', '#{ @project ? new_project_query_path(@project) : new_query_path }'); submit_query_form('query_form')", diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css index d599860f2..a9c6c4376 100644 --- a/public/stylesheets/application.css +++ b/public/stylesheets/application.css @@ -11,7 +11,6 @@ h4 {border-bottom: 1px dotted #bbb;} /*new by huang*/ /**/ - .welcome_logo{ float: left; padding-left: 5px;