From e872a47381fed7cc1f8c228774436cfa2a23ed3f Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Lievremont Date: Wed, 2 Oct 2013 15:26:47 +0200 Subject: [PATCH] Remove pipe characters in action links --- .../app/views/dashboards/_dashboard_operations.html.erb | 3 --- .../main/webapp/WEB-INF/app/views/provisioning/index.html.erb | 1 - 2 files changed, 4 deletions(-) diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/dashboards/_dashboard_operations.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/dashboards/_dashboard_operations.html.erb index 1044eb9001c..e2276a1ba9b 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/dashboards/_dashboard_operations.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/dashboards/_dashboard_operations.html.erb @@ -3,15 +3,12 @@ <% if dashboard.editable_by?(current_user) %> <%= link_to message('dashboard.configure_widgets'), {:controller => :dashboard, :action => :configure, :did => dashboard.id, :id => (resource_id unless dashboard.global?)}, :id => "configure-#{u dashboard.name}", :class => 'link-action' %> - | <%= link_to message('edit'), {:action => :edit_form, :id => dashboard.id, :resource => resource_id}, :id => "edit-#{u dashboard.name}", :class => 'open-modal link-action' %> <% if can_be_disabled %> - | <%= link_to message('delete'), {:action => :delete_form, :id => dashboard.id, :resource => resource_id}, :id => "delete-#{u dashboard.name}", :class => 'open-modal link-action' %> - | <% end %> <% end %> <% if can_be_disabled %> diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/provisioning/index.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/provisioning/index.html.erb index ce97f7c73f6..265e63c384d 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/provisioning/index.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/provisioning/index.html.erb @@ -34,7 +34,6 @@ <%= link_to message('edit'), {:action => :create_form, :id => resource.id, :key => resource.key, :name => resource.name}, {:id => "edit-#{u resource.key}", :class => 'open-modal link-action'} %> - | <%= link_to message('delete'), {:action => :delete, :id => resource.id}, {:id => "delete-#{u resource.key}", :confirm => message('are_you_sure'), :class => 'link-action link-red', :method => 'delete'} %> -- 2.39.5