]> source.dussan.org Git - sonarqube.git/commitdiff
Remove pipe characters in action links
authorJean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com>
Wed, 2 Oct 2013 13:26:47 +0000 (15:26 +0200)
committerJean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com>
Wed, 2 Oct 2013 13:30:57 +0000 (15:30 +0200)
sonar-server/src/main/webapp/WEB-INF/app/views/dashboards/_dashboard_operations.html.erb
sonar-server/src/main/webapp/WEB-INF/app/views/provisioning/index.html.erb

index 1044eb9001c9ab3e0f5d432f31a50c5f8417d7db..e2276a1ba9bba210bbb00fc1879ba20f3023bbfc 100644 (file)
@@ -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 %>
index ce97f7c73f6976fcd1367ea5b1a60101948509e4..265e63c384d56f9a2f58e5e6253794538a09b976 100644 (file)
@@ -34,7 +34,6 @@
         <td>
           <%= 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'} %>
         </td>