From 41da9e7d64c43832059c79ada5ea1628f5923490 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20Sch=C3=A4fer?= Date: Wed, 30 Nov 2011 11:22:32 +0100 Subject: [PATCH] Don't use the new_issue_button partial yet It is not yet localized and the layout made assumptions as to how wide the button is, which is not portable. --- app/views/issues/index.rhtml | 2 +- public/stylesheets/application.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/issues/index.rhtml b/app/views/issues/index.rhtml index d9ace57e4a..94e400dfd7 100644 --- a/app/views/issues/index.rhtml +++ b/app/views/issues/index.rhtml @@ -9,7 +9,7 @@ <%= link_to l(:button_edit), {:controller => 'queries', :action => 'edit', :id => @query}, :class => 'icon icon-edit' %> <%= link_to l(:button_delete), {:controller => 'queries', :action => 'destroy', :id => @query}, :confirm => l(:text_are_you_sure), :method => :post, :class => 'icon icon-del' %> <% end %> -<%= render :partial => 'queries/new_issue_button' %> +<%= link_to(l(:label_issue_new), {:controller => 'issues', :action => 'new', :project_id => @project}, :class => 'icon icon-add') if @project %> <% html_title(@query.new_record? ? l(:label_issue_plural) : h(@query.name)) %> diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css index e3d17b4c0a..88a21d5e03 100644 --- a/public/stylesheets/application.css +++ b/public/stylesheets/application.css @@ -2371,7 +2371,7 @@ fieldset#filters div.add-filter { border:none; } .title-bar .contextual { - padding:0 140px 0 12px; + padding:0 0 0 12px; position:absolute; right:10px; top:0;