aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-server
diff options
context:
space:
mode:
authorFabrice Bellingard <bellingard@gmail.com>2012-03-30 16:52:35 +0200
committerFabrice Bellingard <bellingard@gmail.com>2012-03-30 16:52:35 +0200
commit0f94f83aca83bc403cd120a89f72125b5e7f5a39 (patch)
treea88ad490198d462d484568bd3d9660cc4917d64e /sonar-server
parent548e79c043ffdcf41c9a2f904b1dbe2202f33a7e (diff)
downloadsonarqube-0f94f83aca83bc403cd120a89f72125b5e7f5a39.tar.gz
sonarqube-0f94f83aca83bc403cd120a89f72125b5e7f5a39.zip
SONAR-3372 Give correct style to action links
Diffstat (limited to 'sonar-server')
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/views/project_reviews/_review.html.erb6
1 files changed, 4 insertions, 2 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/project_reviews/_review.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/project_reviews/_review.html.erb
index 76db4d7d38e..261f2c1565e 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/views/project_reviews/_review.html.erb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/views/project_reviews/_review.html.erb
@@ -163,12 +163,14 @@
<%= link_to_remote message('edit'),
:url => {:controller => "project_reviews", :action => "comment_form", :comment_id => comment.id, :id => review.id},
:update => "lastComment",
- :complete => "$('commentAction').remove();$('editActions').hide();$('commentText').focus();" -%>
+ :complete => "$('commentAction').remove();$('editActions').hide();$('commentText').focus();",
+ :html => {:class => 'link-action'} -%>
&nbsp;
<%= link_to_remote message('delete'),
:url => {:controller => "project_reviews", :action => "delete_comment", :comment_id => comment.id, :id => review.id},
:update => "review",
- :confirm => message('reviews.do_you_want_to_delete_comment') -%>
+ :confirm => message('reviews.do_you_want_to_delete_comment'),
+ :html => {:class => 'link-action'} -%>
<%
end
%>